oops forgot files again
authorMatthias Braun <matze@braunis.de>
Wed, 18 May 2005 00:46:49 +0000 (00:46 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 18 May 2005 00:46:49 +0000 (00:46 +0000)
SVN-Revision: 2508

src/scripting/player.h [new file with mode: 0644]

diff --git a/src/scripting/player.h b/src/scripting/player.h
new file mode 100644 (file)
index 0000000..9c1f009
--- /dev/null
@@ -0,0 +1,37 @@
+#ifndef __PLAYER_H__
+#define __PLAYER_H__
+
+namespace Scripting
+{
+
+class Player
+{
+public:
+#ifndef SCRIPTING_API
+  virtual ~Player()
+  {}
+#endif
+
+  /**
+   * Set tux bonus.
+   * This can be "grow", "fireflow" or "iceflower" at the moment
+   */
+  virtual void set_bonus(const std::string& bonus) = 0;
+  /**
+   * Make tux invicible for a short amount of time
+   */
+  virtual void make_invincible() = 0;
+  /**
+   * Give tux another life
+   */
+  virtual void add_life() = 0;
+  /**
+   * Give tux more coins
+   */
+  virtual void add_coins(int count) = 0;
+};
+
+}
+
+#endif
+