diff options
Diffstat (limited to 'src/command.cpp')
-rw-r--r-- | src/command.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/command.cpp b/src/command.cpp index efe2987..24b50cd 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -40,3 +40,7 @@ KeyboardRightPressed::~KeyboardRightPressed(){} void KeyboardRightPressed::execute( GameState &game ){ game.pressRight(); } +KeyboardSpacePressed::~KeyboardSpacePressed(){} +void KeyboardSpacePressed::execute( GameState &game ){ + game.pressRotate(); +} |