#include <scripted_object.hpp>
Inherited by ScriptedObject.
Public Member Functions | |
virtual | ~ScriptedObject () |
virtual void | set_action (const std::string &animation)=0 |
virtual std::string | get_action ()=0 |
virtual void | move (float x, float y)=0 |
virtual void | set_pos (float x, float y)=0 |
virtual float | get_pos_x ()=0 |
virtual float | get_pos_y ()=0 |
virtual void | set_velocity (float x, float y)=0 |
virtual float | get_velocity_x ()=0 |
virtual float | get_velocity_y ()=0 |
virtual void | set_visible (bool visible)=0 |
virtual bool | is_visible ()=0 |
virtual void | set_solid (bool solid)=0 |
virtual bool | is_solid ()=0 |
virtual std::string | get_name ()=0 |
Definition at line 22 of file scripted_object.hpp.
virtual scripting::ScriptedObject::~ScriptedObject | ( | ) | [inline, virtual] |
virtual void scripting::ScriptedObject::set_action | ( | const std::string & | animation | ) | [pure virtual] |
Implemented in ScriptedObject.
Referenced by scripting::wrapper::ScriptedObject_set_action_wrapper().
virtual std::string scripting::ScriptedObject::get_action | ( | ) | [pure virtual] |
Implemented in ScriptedObject.
Referenced by scripting::wrapper::ScriptedObject_get_action_wrapper().
virtual void scripting::ScriptedObject::move | ( | float | x, | |
float | y | |||
) | [pure virtual] |
virtual void scripting::ScriptedObject::set_pos | ( | float | x, | |
float | y | |||
) | [pure virtual] |
virtual float scripting::ScriptedObject::get_pos_x | ( | ) | [pure virtual] |
Implemented in ScriptedObject.
Referenced by scripting::wrapper::ScriptedObject_get_pos_x_wrapper().
virtual float scripting::ScriptedObject::get_pos_y | ( | ) | [pure virtual] |
Implemented in ScriptedObject.
Referenced by scripting::wrapper::ScriptedObject_get_pos_y_wrapper().
virtual void scripting::ScriptedObject::set_velocity | ( | float | x, | |
float | y | |||
) | [pure virtual] |
Implemented in ScriptedObject.
Referenced by scripting::wrapper::ScriptedObject_set_velocity_wrapper().
virtual float scripting::ScriptedObject::get_velocity_x | ( | ) | [pure virtual] |
Implemented in ScriptedObject.
Referenced by scripting::wrapper::ScriptedObject_get_velocity_x_wrapper().
virtual float scripting::ScriptedObject::get_velocity_y | ( | ) | [pure virtual] |
Implemented in ScriptedObject.
Referenced by scripting::wrapper::ScriptedObject_get_velocity_y_wrapper().
virtual void scripting::ScriptedObject::set_visible | ( | bool | visible | ) | [pure virtual] |
Implemented in ScriptedObject.
Referenced by scripting::wrapper::ScriptedObject_set_visible_wrapper().
virtual bool scripting::ScriptedObject::is_visible | ( | ) | [pure virtual] |
Implemented in ScriptedObject.
Referenced by scripting::wrapper::ScriptedObject_is_visible_wrapper().
virtual void scripting::ScriptedObject::set_solid | ( | bool | solid | ) | [pure virtual] |
Implemented in ScriptedObject.
Referenced by scripting::wrapper::ScriptedObject_set_solid_wrapper().
virtual bool scripting::ScriptedObject::is_solid | ( | ) | [pure virtual] |
virtual std::string scripting::ScriptedObject::get_name | ( | ) | [pure virtual] |