static const float WAKE_TIME = .5;
Plant::Plant(const lisp::Lisp& reader)
- : BadGuy(reader, "images/creatures/plant/plant.sprite")
+ : BadGuy(reader, "images/creatures/plant/plant.sprite")
{
state = PLANT_SLEEPING;
}
}
void
-Plant::activate()
+Plant::initialize()
{
//FIXME: turns sspiky around for debugging
dir = dir == LEFT ? RIGHT : LEFT;
return CONTINUE;
}
-void
+void
Plant::active_update(float elapsed_time) {
BadGuy::active_update(elapsed_time);