17 #ifndef HEADER_SUPERTUX_SCRIPTING_LEVEL_TIME_HPP 18 #define HEADER_SUPERTUX_SCRIPTING_LEVEL_TIME_HPP 21 #include "scripting/game_object.hpp" 36 using GameObject::GameObject;
WARNING: This file is automatically generated from: 'src/scripting/wrapper.interface.hpp' DO NOT CHANGE.
Definition: ambient_sound.cpp:21
Definition: level_time.hpp:28
Definition: game_object.hpp:60
Definition: level_time.hpp:28
void set_time(float time_left)
Changes the number of seconds left on the clock.
Definition: level_time.cpp:40
float get_time() const
Returns the number of seconds left on the clock.
Definition: level_time.cpp:34
void stop()
Pauses the countdown.
Definition: level_time.cpp:28
void start()
Resumes the countdown.
Definition: level_time.cpp:22