diff options
| author | XaviDCR92 <xavi.dcr@gmail.com> | 2018-08-02 00:54:01 +0200 |
|---|---|---|
| committer | XaviDCR92 <xavi.dcr@gmail.com> | 2018-08-02 00:54:01 +0200 |
| commit | c501d0e4e732e09a4a75d873e976b2c801ef7920 (patch) | |
| tree | 0926b6b4bf2448130800f993335ec36c54f74a7a /BaseUnit.h | |
| parent | c3a69de5c2e822d91e8284ac65eda83fed6476ba (diff) | |
+ Started unit selection implementation. Not finished yet.
Diffstat (limited to 'BaseUnit.h')
| -rw-r--r-- | BaseUnit.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -33,10 +33,13 @@ class BaseUnit public: explicit BaseUnit(void); void handler(void); + void drawHandler(const uint8_t* const pu8SprData); void create(const uint16_t x, const uint16_t y); bool isAlive(void); bool isSelected(void); + void setSelected(const bool bSelect); uint16_t getX(void); + uint16_t getY(void); protected: uint16_t _hp; /**< Health points. */ |
