1 /******************************
2 ** Tsunagari Tile Engine **
4 ** Copyright 2011 OmegaSDG **
5 ******************************/
19 This class handles dynamic game objects, such as monsters, NPCs, and
25 //! Entity Constructor
26 Entity(Resourcer
* rc
, const std::string descriptor
,
27 const std::string spriteDescriptor
);
32 //! Entity Initializer
39 bool needsRedraw() const;
41 coord_t
getCoordsByPixel();
42 coord_t
getCoordsByTile();
44 //! Move the entity by dx, dy.
45 void moveByTile(coord_t delta
);
52 const std::string descriptor
;
53 const std::string spriteDescriptor
;