supertux
Public Member Functions | List of all members
scripting::ScriptedObject Class Referencefinal
Inheritance diagram for scripting::ScriptedObject:
scripting::GameObject<::ScriptedObject >

Public Member Functions

void set_action (const std::string &animation)
 
std::string get_action () const
 
void move (float x, float y)
 
void set_pos (float x, float y)
 
float get_pos_x () const
 
float get_pos_y () const
 
void set_velocity (float x, float y)
 
float get_velocity_x () const
 
float get_velocity_y () const
 
void enable_gravity (bool f)
 
bool gravity_enabled () const
 
void set_visible (bool visible)
 
bool is_visible () const
 
void set_solid (bool solid)
 
bool is_solid () const
 
std::string get_name () const
 
- Public Member Functions inherited from scripting::GameObject<::ScriptedObject >
 GameObject (UID uid)
 
::ScriptedObjectget_object_ptr () const
 

Additional Inherited Members

- Protected Attributes inherited from scripting::GameObject<::ScriptedObject >
UID m_uid
 

The documentation for this class was generated from the following files: