bool on_ground_flag;
bool jumping;
bool can_jump;
- bool butt_jump;
+ bool wants_buttjump;
+ bool does_buttjump;
Timer invincible_timer;
Timer skidding_timer;
* Adds velocity to the player until given end speed is reached
*/
void add_velocity(const Vector& velocity, const Vector& end_speed);
+
+ /**
+ * Returns the current velocity of the player
+ */
+ Vector get_velocity();
void bounce(BadGuy& badguy);