fix cr/lfs and remove trailing whitespaces...
[supertux.git] / src / scripting / player.hpp
index 45f3d84..8b36aa7 100644 (file)
@@ -35,7 +35,7 @@ public:
    * Set tux bonus.
    * This can be "grow", "fireflower" or "iceflower" at the moment
    */
-  virtual void add_bonus(const std::string& bonus) = 0;
+  virtual bool add_bonus(const std::string& bonus) = 0;
   /**
    * Give tux more coins
    */
@@ -73,7 +73,7 @@ public:
   virtual void kill(bool completely) = 0;
 
   /**
-   * Switches ghost mode on/off. 
+   * Switches ghost mode on/off.
    * Lets Tux float around and through solid objects.
    */
   virtual void set_ghost_mode(bool enable) = 0;
@@ -83,7 +83,7 @@ public:
    */
   virtual bool get_ghost_mode() = 0;
 
-  /** 
+  /**
    * play cheer animation.
    * This might need some space and behave in an unpredictable way. Best to use this at level end.
    */
@@ -117,4 +117,3 @@ public:
 }
 
 #endif
-