diff options
| author | XaviDCR92 <xavi.dcr@gmail.com> | 2018-08-05 18:06:49 +0200 |
|---|---|---|
| committer | XaviDCR92 <xavi.dcr@gmail.com> | 2018-08-05 18:06:49 +0200 |
| commit | efc7020defa40c74a467442e6763df71c0783fd0 (patch) | |
| tree | fa3f7cf7648e7e05ed0483cf25ead7712f2fc0da /HumanPlayer.h | |
| parent | 6ecb59761ac940e66c9670d23dd65696df3df7cf (diff) | |
* Increased MAX_SELECTION_DISTANCE, but this should be done according to BaseUnit instead!HEADmaster
+ BaseUnit now takes a pointer to a Camera object.
+ Implemented Unit basic movement.
+ Initial stub for Coordinates class, meant to replace all manual X/Y coordinates handling between classes.
Diffstat (limited to 'HumanPlayer.h')
| -rw-r--r-- | HumanPlayer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/HumanPlayer.h b/HumanPlayer.h index 262dde8..071415d 100644 --- a/HumanPlayer.h +++ b/HumanPlayer.h @@ -50,6 +50,7 @@ class HumanPlayer : public Player /* Released button event handlers. */ void onABtnReleased(void); + void onBBtnReleased(void); /* Unit selection. */ enum tPlayerState selectUnit(void); @@ -60,6 +61,7 @@ class HumanPlayer : public Player /* Private variables. */ uint8_t _ABtnFrames; + uint8_t _BBtnFrames; }; #endif /* HUMAN_PLAYER_H__ */ |
