aboutsummaryrefslogtreecommitdiff
path: root/scene/main/timer.h
diff options
context:
space:
mode:
authorHearto Lazor2016-03-31 18:23:16 -0300
committerHearto Lazor2016-03-31 18:23:16 -0300
commit995890d5b29fc0dc4eca66d9f11e1e3f8f275ae0 (patch)
tree636fb6a90691bc8303619ee33ac0042db0e69f62 /scene/main/timer.h
parent8708a284f7b5390a48ea2fd95848f60cc40d0bf0 (diff)
downloadgodot-995890d5b29fc0dc4eca66d9f11e1e3f8f275ae0.tar.gz
godot-995890d5b29fc0dc4eca66d9f11e1e3f8f275ae0.tar.zst
godot-995890d5b29fc0dc4eca66d9f11e1e3f8f275ae0.zip
Diffstat (limited to 'scene/main/timer.h')
-rw-r--r--scene/main/timer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/main/timer.h b/scene/main/timer.h
index 0baea76fa..688be6e4f 100644
--- a/scene/main/timer.h
+++ b/scene/main/timer.h
@@ -38,6 +38,8 @@ class Timer : public Node {
float wait_time;
bool one_shot;
bool autostart;
+ bool processing;
+ bool active;
double time_left;
protected:
@@ -62,6 +64,8 @@ public:
void start();
void stop();
+ void set_active(bool p_active);
+ bool is_active() const;
float get_time_left() const;