summaryrefslogtreecommitdiff
path: root/Player.h
diff options
context:
space:
mode:
authorXaviDCR92 <xavi.dcr@gmail.com>2017-08-26 11:13:20 +0200
committerXaviDCR92 <xavi.dcr@gmail.com>2017-08-26 11:13:20 +0200
commit54ea724c5d2f3a2c5bdf3cfe6f6807d43a5ae9d7 (patch)
tree0cc7c34c790799cd1c29a186f7ab031b9465b970 /Player.h
parent6628e7de58425b3e93da9ae6fcb7347137d96096 (diff)
downloadpocketempires-54ea724c5d2f3a2c5bdf3cfe6f6807d43a5ae9d7.tar.gz
+ Added MouseSpr and Unit modules.
* Unit actions, building actions.
Diffstat (limited to 'Player.h')
-rw-r--r--Player.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Player.h b/Player.h
index 6a4782c..bfc3d68 100644
--- a/Player.h
+++ b/Player.h
@@ -47,7 +47,10 @@ class Player
bool checkNewBuildingPosition(TYPE_COLLISION_BLOCK * cb);
void UnitBuildingSelection(void);
void showHealth(uint8_t hp);
+ void ButtonHandler(void);
+ void BuildingUnitActions(void);
TYPE_COLLISION_BLOCK GetCursorPos(void);
+
char name[PLAYER_NAME_LENGTH];
TYPE_UNIT units[PLAYER_MAX_UNITS];
TYPE_BUILDING buildings[PLAYER_MAX_BUILDINGS];
@@ -57,8 +60,10 @@ class Player
uint8_t unit_i;
uint8_t bldg_i;
bool human;
+ bool showUnitBuildingOptions;
TYPE_CAMERA Camera;
TYPE_RESOURCES Resources;
+ uint8_t progress_bar;
//Print _serial;
};