}
Toad::Toad(const lisp::Lisp& reader)
- : BadGuy(reader, "images/creatures/toad/toad.sprite")
+ : BadGuy(reader, "images/creatures/toad/toad.sprite")
{
sound_manager->preload(HOP_SOUND);
}
Toad::Toad(const Vector& pos, Direction d)
- : BadGuy(pos, d, "images/creatures/toad/toad.sprite")
+ : BadGuy(pos, d, "images/creatures/toad/toad.sprite")
{
sound_manager->preload(HOP_SOUND);
}
}
void
-Toad::activate()
+Toad::initialize()
{
// initial state is JUMPING, because we might start airborne
state = JUMPING;