src/badguy/toad.cpp File Reference

#include "badguy/toad.hpp"
#include "audio/sound_manager.hpp"
#include "object/player.hpp"
#include "sprite/sprite.hpp"
#include "supertux/object_factory.hpp"

Go to the source code of this file.

Variables

const float VERTICAL_SPEED = -450
 y-speed when jumping
const float HORIZONTAL_SPEED = 320
 x-speed when jumping
const float TOAD_RECOVER_TIME = 0.5
 time to stand still before starting a (new) jump
static const std::string HOP_SOUND = "sounds/hop.ogg"


Variable Documentation

const std::string HOP_SOUND = "sounds/hop.ogg" [static]

Definition at line 28 of file toad.cpp.

Referenced by Toad::set_state(), and Toad::Toad().

const float HORIZONTAL_SPEED = 320 [static]

x-speed when jumping

Definition at line 26 of file toad.cpp.

Referenced by Toad::set_state(), and SkullyHop::set_state().

const float TOAD_RECOVER_TIME = 0.5 [static]

time to stand still before starting a (new) jump

Definition at line 27 of file toad.cpp.

Referenced by Toad::set_state().

const float VERTICAL_SPEED = -450 [static]

y-speed when jumping

Definition at line 25 of file toad.cpp.

Referenced by Toad::set_state(), and SkullyHop::set_state().


Generated on Mon Jun 9 03:38:26 2014 for SuperTux by  doxygen 1.5.1