ORIENTATION_SOUTH = 2,
ORIENTATION_WEST = 3,
};
+ enum Flags {
+ FLAG_NONBLOCKING = 0x01,
+ };
public:
geometry::Vector<float> &Position() { return position; }
Orientation GetOrientation() const { return orientation; }
void SetSpeed(float);
+ void SetFlags(int f) { flags = f; }
+ bool Blocking() const { return !(flags & FLAG_NONBLOCKING); }
+
Entity *Follower() { return follower; }
const Entity *Follower() const { return follower; }
void AddFollower(Entity *);
geometry::Vector<float> velocity;
Orientation orientation;
float speed;
+ int flags;
};