From d851eae8e7cb4192dcd7213dd1a8b60064156b15 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Tue, 5 Jun 2018 22:17:15 -0400 Subject: players must move when dropping lamps if no direction is pressed, player dashes in direction of most recent movement. if no movement has occured, choose a random direction. if player cannot move in the chosen direction, choose a random direction. if the player cannot move in any direction, prevent dropping a lamp. --- src/game.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/game.h') diff --git a/src/game.h b/src/game.h index 1142efb..6d8a64f 100644 --- a/src/game.h +++ b/src/game.h @@ -99,6 +99,9 @@ public: //size_t oldZoom; int zoomProgress = 0; + bool firstInput = false; + Input lastInput; + }; #endif /* end of include guard: GAME_H_7D2B65AE */ -- cgit 1.4.1