diff options
| author | XaviDCR92 <xavi.dcr@gmail.com> | 2017-09-09 12:47:17 +0200 |
|---|---|---|
| committer | XaviDCR92 <xavi.dcr@gmail.com> | 2017-09-09 12:47:17 +0200 |
| commit | a7dd9781961b5f26d5dca6829e1933dff6209d23 (patch) | |
| tree | 6e3f1c469e6997fedbaa096f377d67f99a65ae47 /Player.h | |
| parent | 786dccd2bc0946d48b8a2758ef2c607678bc8dd9 (diff) | |
| download | pocketempires-a7dd9781961b5f26d5dca6829e1933dff6209d23.tar.gz | |
Simple collision detection between units added. libgamebuino was always updating header files, so targets were always being rebuilt.
Diffstat (limited to 'Player.h')
| -rw-r--r-- | Player.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -46,6 +46,7 @@ class Player bool isHuman(void) {return human;} bool createUnit(TYPE_UNIT_ID id, TYPE_COLLISION_BLOCK cb); uint8_t getPopulation(void) {return (unit_i + 1);} + void ShowResources(void); private: // Player definition @@ -85,6 +86,9 @@ class Player uint8_t showActionsMenu_counter; uint8_t showActionsMenu_index; void IncreaseShowActionsMenuIndex(); + + // Action callbacks + void ActionCreateUnit (TYPE_UNIT* ptrUnit); }; #endif // __cplusplus |
