v1.4.4
This commit is contained in:
commit
9c94d113d3
10260 changed files with 1237388 additions and 0 deletions
22
source/game/interfaces/StarPointableItem.hpp
Normal file
22
source/game/interfaces/StarPointableItem.hpp
Normal file
|
@ -0,0 +1,22 @@
|
|||
#ifndef STAR_POINTABLE_ITEM_HPP
|
||||
#define STAR_POINTABLE_ITEM_HPP
|
||||
|
||||
#include "StarGameTypes.hpp"
|
||||
#include "StarDrawable.hpp"
|
||||
|
||||
namespace Star {
|
||||
|
||||
STAR_CLASS(PointableItem);
|
||||
|
||||
class PointableItem {
|
||||
public:
|
||||
virtual ~PointableItem() {}
|
||||
|
||||
virtual float getAngleDir(float aimAngle, Direction facingDirection);
|
||||
virtual float getAngle(float angle);
|
||||
virtual List<Drawable> drawables() const = 0;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue