lots of cool scripting stuff
[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 #if 0
16   /**
17    * Set tux bonus.
18    * This can be "grow", "fireflower" or "iceflower" at the moment
19    */
20   virtual void set_bonus(const std::string& bonus) = 0;
21   /**
22    * Give tux another life
23    */
24   virtual void add_life() = 0;
25   /**
26    * Give tux more coins
27    */
28   virtual void add_coins(int count) = 0;
29 #endif
30   /**
31    * Make tux invicible for a short amount of time
32    */
33   virtual void make_invincible() = 0;
34   /**
35    * Deactivate user input for Tux
36    */
37   virtual void deactivate() = 0;
38   /**
39    * Give control back to user
40    */
41   virtual void activate() = 0;
42   /**
43    * Make Tux walk
44    */
45   virtual void walk(float speed) = 0;
46 };
47
48 }
49
50 #endif
51