ScriptingCamera
From SuperTux
[edit] Summary
Camera is an interface to manipulate the camera.
[edit] Instances
An instance named Camera (sector.Camera in the console) is available. (Note: doesn't having a class and an eponymous instance create a potential for conflicts? We should probably rename the instance or the class.)
[edit] Methods
| shake(float time, float x, float y) | Warning: This function has not yet been implemented. |
|---|---|
| set_pos(float x, float y) | Warning: This function has not yet been implemented. |
| set_mode(string modestring) | This function sets the camera mode. Valid values for modestring are "normal" and "manual". |
| scroll_to(float x, float y, float time) | Scrolls the camera to (x, y) within time seconds. |
[edit] Constants
None

