32 #include "scene/main/node.h" 45 void _notification(
int p_what);
46 static void _bind_methods();
49 enum TimerProcessMode {
54 void set_wait_time(
float p_time);
55 float get_wait_time()
const;
57 void set_one_shot(
bool p_one_shot);
58 bool is_one_shot()
const;
60 void set_autostart(
bool p_start);
61 bool has_autostart()
const;
66 float get_time_left()
const;
68 void set_timer_process_mode(TimerProcessMode p_mode);
69 TimerProcessMode get_timer_process_mode()
const;
73 TimerProcessMode timer_process_mode;
74 void _set_process(
bool p_process,
bool p_force =
false);
78 VARIANT_ENUM_CAST(Timer::TimerProcessMode);