Colors patch from qmax ( + added stat_hdr_color into levelintro.hpp...)
[supertux.git] / src / badguy / plant.cpp
index 91cb1c9..cebc0c5 100644 (file)
@@ -25,7 +25,7 @@ static const float WALKSPEED = 80;
 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;
 }
@@ -42,7 +42,7 @@ Plant::write(lisp::Writer& writer)
 }
 
 void
-Plant::activate()
+Plant::initialize()
 {
   //FIXME: turns sspiky around for debugging
   dir = dir == LEFT ? RIGHT : LEFT;
@@ -78,7 +78,7 @@ Plant::collision_badguy(BadGuy& , const CollisionHit& hit)
   return CONTINUE;
 }
 
-void 
+void
 Plant::active_update(float elapsed_time) {
   BadGuy::active_update(elapsed_time);