kugelblitz electrifies water on contact - electrified water is baaaaaaad
[supertux.git] / src / object / text_object.cpp
index a623a34..706b2fb 100644 (file)
@@ -1,8 +1,8 @@
 #include <config.h>
 
-#include "text_object.h"
-#include "resources.h"
-#include "video/drawing_context.h"
+#include "text_object.hpp"
+#include "resources.hpp"
+#include "video/drawing_context.hpp"
 
 TextObject::TextObject()
   : fading(0), fadetime(0), visible(false)
@@ -25,8 +25,6 @@ TextObject::set_font(const std::string& name)
     font = blue_text;
   } else if(name == "gray") {
     font = gray_text;
-  } else if(name == "white") {
-    font = white_text;
   } else if(name == "big") {
     font = white_big_text;
   } else if(name == "small") {
@@ -86,7 +84,7 @@ TextObject::draw(DrawingContext& context)
 }
 
 void
-TextObject::action(float elapsed_time)
+TextObject::update(float elapsed_time)
 {
   if(fading > 0) {
     fading -= elapsed_time;