#include "audio/sound_manager.hpp"#include "badguy/mole.hpp"#include "badguy/mole_rock.hpp"#include "math/random_generator.hpp"#include "sprite/sprite.hpp"#include "supertux/object_factory.hpp"#include "supertux/sector.hpp"#include <math.h>Go to the source code of this file.
Variables | |
| static const float | MOLE_WAIT_TIME = 0.2f |
| time to wait before and after throwing | |
| static const float | THROW_TIME = 4.6f |
| time to spend throwing | |
| static const float | THROW_INTERVAL = 1 |
| time between two thrown rocks | |
| static const float | THROW_VELOCITY = 400 |
| initial velocity of thrown rocks | |
const float MOLE_WAIT_TIME = 0.2f [static] |
time to wait before and after throwing
Definition at line 27 of file mole.cpp.
Referenced by Mole::set_state().
const float THROW_INTERVAL = 1 [static] |
time between two thrown rocks
Definition at line 29 of file mole.cpp.
Referenced by Mole::active_update(), and Mole::set_state().
const float THROW_TIME = 4.6f [static] |
const float THROW_VELOCITY = 400 [static] |
initial velocity of thrown rocks
Definition at line 30 of file mole.cpp.
Referenced by Mole::throw_rock().
1.5.1