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 Tile &SetOffset(const geometry::Vector<int> &o) { offset = o; return *this; }
41 Tile &SetFlags(Uint32 f) { flags = f; return *this; }
44 geometry::Vector<int> offset;
51 #endif /* MAP_TILE_H_ */