17 #ifndef HEADER_SUPERTUX_SCRIPTING_CAMERA_HPP 18 #define HEADER_SUPERTUX_SCRIPTING_CAMERA_HPP 21 #include "scripting/game_object.hpp" 36 using GameObject::GameObject;
47 void shake(
float speed,
float x,
float y);
51 void set_mode(
const std::string& mode);
53 void scroll_to(
float x,
float y,
float scrolltime);
WARNING: This file is automatically generated from: 'src/scripting/wrapper.interface.hpp' DO NOT CHANGE.
Definition: ambient_sound.cpp:21
Definition: camera.hpp:28
Definition: game_object.hpp:60
void set_pos(float x, float y)
Set camera to a specific coordinate.
Definition: camera.cpp:39
void shake(float speed, float x, float y)
Shake the camera.
Definition: camera.cpp:32
void scroll_to(float x, float y, float scrolltime)
Scroll camera to position x,y in scrolltime seconds.
Definition: camera.cpp:58
void set_mode(const std::string &mode)
Set camera to a specific mode, can be "normal", "manual".
Definition: camera.cpp:44
Definition: camera.hpp:36