Bigger icon for Mac OS X
[supertux.git] / src / scripting / floating_image.cpp
index 1647685..1cb0c02 100644 (file)
@@ -31,7 +31,7 @@ namespace Scripting
 FloatingImage::FloatingImage(const std::string& spritefile)
 {
   using namespace WorldMapNS;
-  
+
   floating_image = new _FloatingImage(spritefile);
   if(Sector::current() != NULL) {
     Sector::current()->add_object(floating_image.get());
@@ -113,4 +113,17 @@ FloatingImage::get_action()
   return floating_image->get_action();
 }
 
+void
+FloatingImage::fade_in(float fadetime)
+{
+  floating_image->fade_in(fadetime);
+}
+
+void
+FloatingImage::fade_out(float fadetime)
+{
+  floating_image->fade_out(fadetime);
+}
+
+
 }