00001 #ifndef __TILE_H 00002 #define __TILE_H 00003 00004 class Tile 00005 { 00006 private: 00007 TileInfo* tileinfo; 00008 Animation* animation; 00009 int damage; 00010 public: 00011 Tile( TileInfo* _tileinfo ); 00012 ~Tile(); 00013 void IncreaseTimer(int t); 00014 SDL_Surface *GetFrame(); 00015 bool IsImpassable(); 00016 int DmgFixed(); 00017 float DmgImpact(); 00018 }; 00019 00020 #endif // __TILE_H