Fixed trailing whitespaces in all(?) source files of supertux, also fixed some svn...
[supertux.git] / src / object / display_effect.hpp
index 40510cc..8c3f857 100644 (file)
@@ -28,7 +28,7 @@ class DisplayEffect : public GameObject, public Scripting::DisplayEffect,
                       public ScriptInterface
 {
 public:
-    DisplayEffect();
+    DisplayEffect(std::string name = "");
     virtual ~DisplayEffect();
 
     void expose(HSQUIRRELVM vm, SQInteger table_idx);
@@ -37,6 +37,12 @@ public:
     void update(float elapsed_time);
     void draw(DrawingContext& context);
 
+
+    /**
+     * @name Scriptable Methods
+     * @{
+     */
+
     void fade_out(float fadetime);
     void fade_in(float fadetime);
     void set_black(bool enabled);
@@ -44,6 +50,10 @@ public:
     void sixteen_to_nine(float fadetime);
     void four_to_three(float fadetime);
 
+    /**
+     * @}
+     */
+
 private:
     enum FadeType {
         NO_FADE, FADE_IN, FADE_OUT