renamed all .h to .hpp
[supertux.git] / src / scripting / player.hpp
1 #ifndef __PLAYER_H__
2 #define __PLAYER_H__
3
4 namespace Scripting
5 {
6
7 class Player
8 {
9 public:
10 #ifndef SCRIPTING_API
11   virtual ~Player()
12   {}
13 #endif
14
15   /**
16    * Set tux bonus.
17    * This can be "grow", "fireflow" or "iceflower" at the moment
18    */
19   virtual void set_bonus(const std::string& bonus) = 0;
20   /**
21    * Make tux invicible for a short amount of time
22    */
23   virtual void make_invincible() = 0;
24   /**
25    * Give tux another life
26    */
27   virtual void add_life() = 0;
28   /**
29    * Give tux more coins
30    */
31   virtual void add_coins(int count) = 0;
32 };
33
34 }
35
36 #endif
37