Edited map, new efence tile
[sdlbotor.git] / Tile.h
blob071b4469cbdf2940ed13bb77d4796e98d10a5e14
1 #ifndef TILE_H
2 #define TILE_H
4 #include "globalfunc.h"
5 #include "time.h"
7 namespace botor
10 struct Tile
14 static const unsigned int TILE_NONE = 0,
15 TILE_WALL = Bitmask<0>::v,
16 TILE_WALKABLE = Bitmask<1>::v,
17 TILE_PUSHABLE = Bitmask<2>::v,
18 TILE_EFENCE = Bitmask<3>::v,
19 TILE_SLOW = Bitmask<4>::v,
20 TILE_NOTPUSHABLE= Bitmask<5>::v,
21 TILE_SOLID = Bitmask<6>::v;
25 unsigned int typeMask;
26 int tileID;
28 bool moving;
30 unsigned int acid;
32 time_t timer;
34 float movementX,movementY;
40 #endif