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

Public Member Functions

void reload_config ()
 
void shake (float speed, float x, float y)
 Shake the camera.
 
void set_pos (float x, float y)
 Set camera to a specific coordinate.
 
void set_mode (const std::string &mode)
 Set camera to a specific mode, can be "normal", "manual".
 
void scroll_to (float x, float y, float scrolltime)
 Scroll camera to position x,y in scrolltime seconds.
 
- Public Member Functions inherited from scripting::GameObject<::Camera >
 GameObject (UID uid)
 
::Cameraget_object_ptr () const
 

Additional Inherited Members

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

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