#include <string>
#endif
-namespace Scripting {
+namespace scripting {
class Player
{
*/
virtual void walk(float speed) = 0;
/**
+ * Face Tux in the proper direction
+ */
+ virtual void set_dir(bool right) = 0;
+ /**
* Set player visible or invisible
*/
virtual void set_visible(bool visible) = 0;
virtual bool get_ghost_mode() = 0;
/**
+ * start kick animation
+ */
+ virtual void kick() = 0;
+
+ /**
* play cheer animation.
* This might need some space and behave in an unpredictable way. Best to use this at level end.
*/
virtual void use_scripting_controller(bool use_or_release) = 0;
/**
- * Instructs the scriptable controller to press or release a button
+ * Instructs the scriptable controller to press or release a button
*/
virtual void do_scripting_controller(std::string control, bool pressed) = 0;