diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-02-19 15:06:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-19 15:06:50 +0100 |
commit | bc395c2549009d28cdb8884f4beeebe7250de9f5 (patch) | |
tree | 5f51c7834ea64b08b32494f24fdf352769705a63 /scene/main/timer.h | |
parent | a59305ff08c57f9b3ac5a9046cd4f180b2752337 (diff) | |
parent | 0d1d7191781b1f0e0517ba8eb3b134320de72ca8 (diff) |
Merge pull request #46221 from akien-mga/doc-sync-classref
doc: Sync classref with current source
Diffstat (limited to 'scene/main/timer.h')
-rw-r--r-- | scene/main/timer.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scene/main/timer.h b/scene/main/timer.h index 672290cf50..3d9e21d7fc 100644 --- a/scene/main/timer.h +++ b/scene/main/timer.h @@ -49,7 +49,7 @@ protected: static void _bind_methods(); public: - enum TimerProcessMode { + enum TimerProcessCallback { TIMER_PROCESS_PHYSICS, TIMER_PROCESS_IDLE, }; @@ -73,15 +73,15 @@ public: float get_time_left() const; - void set_timer_process_mode(TimerProcessMode p_mode); - TimerProcessMode get_timer_process_mode() const; + void set_timer_process_callback(TimerProcessCallback p_callback); + TimerProcessCallback get_timer_process_callback() const; Timer(); private: - TimerProcessMode timer_process_mode = TIMER_PROCESS_IDLE; + TimerProcessCallback timer_process_callback = TIMER_PROCESS_IDLE; void _set_process(bool p_process, bool p_force = false); }; -VARIANT_ENUM_CAST(Timer::TimerProcessMode); +VARIANT_ENUM_CAST(Timer::TimerProcessCallback); #endif // TIMER_H |