diff options
| author | XaviDCR92 <xavi.dcr@gmail.com> | 2018-07-09 22:22:26 +0200 |
|---|---|---|
| committer | XaviDCR92 <xavi.dcr@gmail.com> | 2018-07-09 22:22:26 +0200 |
| commit | cd78b97bceaf6ecbbab6f89631c15ed712878d4d (patch) | |
| tree | c08c69a651ce91c834aef7b588e1074106315df6 /Camera.cpp | |
| parent | f0b654b9bf3bc2a93c1f89d4cc3edcf77b948555 (diff) | |
| download | pocketempires-cd78b97bceaf6ecbbab6f89631c15ed712878d4d.tar.gz | |
Calls to HumanPlayer and Camera button pressed event handlers are now automatically handled by two const arrays of member functions pointers.
Diffstat (limited to 'Camera.cpp')
| -rw-r--r-- | Camera.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -59,9 +59,19 @@ void Camera::getCoordinates(int16_t* const x, int16_t* const y) /*****************************************************************//** * * \brief Event handler executed when human player presses - * left button. + * left arrow button. * *********************************************************************/ void Camera::onLeftBtnPressed(void) { } + +/*****************************************************************//** + * + * \brief Event handler executed when human player presses + * right arrow button. + * + *********************************************************************/ +void Camera::onRightBtnPressed(void) +{ +} |
