- removed auto-repeat of jump events, now one has to press again to jump and can...
[supertux.git] / src / player.h
index 4271c4f..ef3df44 100644 (file)
@@ -65,6 +65,7 @@ struct player_input_type
   int right;
   int left;
   int up;
+  int old_up;
   int down;
   int fire;
   int old_fire;
@@ -127,6 +128,7 @@ public:
   Timer skidding_timer;
   Timer safe_timer;
   Timer frame_timer;
+  Timer kick_timer;
   Physic physic;
 
 public:
@@ -145,6 +147,7 @@ public:
   void keep_in_bounds();
   bool on_ground();
   bool under_solid();
+  void grow();
   
 private:
   void handle_horizontal_input();