4 * Created on: Sep 29, 2012
11 #include "../geometry/Vector.h"
31 const geometry::Vector<int> &Offset() const { return offset; }
33 bool BlocksNorth() const { return flags & BLOCK_NORTH; }
34 bool BlocksEast() const { return flags & BLOCK_EAST; }
35 bool BlocksSouth() const { return flags & BLOCK_SOUTH; }
36 bool BlocksWest() const { return flags & BLOCK_WEST; }
40 void SetOffset(const geometry::Vector<int> &o) { offset = o; }
41 void SetFlags(Uint32 f) { flags = f; }
44 geometry::Vector<int> offset;
51 #endif /* MAP_TILE_H_ */