diff options
Diffstat (limited to 'scene/main/timer.h')
-rwxr-xr-x[-rw-r--r--] | scene/main/timer.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/scene/main/timer.h b/scene/main/timer.h index 756b779717..53a2ddb2bd 100644..100755 --- a/scene/main/timer.h +++ b/scene/main/timer.h @@ -39,7 +39,7 @@ class Timer : public Node { bool one_shot; bool autostart; bool processing; - bool active; + bool paused; double time_left; @@ -64,8 +64,11 @@ public: void start(); void stop(); - void set_active(bool p_active); - bool is_active() const; + + void set_paused(bool p_paused); + bool is_paused() const; + + bool is_stopped() const; float get_time_left() const; |