MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / is_stopped

Method is_stopped

scene/main/timer.cpp:182–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182bool Timer::is_stopped() const {
183 return get_time_left() <= 0;
184}
185
186double Timer::get_time_left() const {
187 return time_left > 0 ? time_left : 0;

Callers 11

path_changedMethod · 0.80
_close_pressedMethod · 0.80
add_frame_metricMethod · 0.80
add_frame_metricMethod · 0.80
reset_timerMethod · 0.80
_settings_saveMethod · 0.80
_reset_hovering_timerMethod · 0.80
_line_col_changedMethod · 0.80
_start_timerMethod · 0.80

Calls

no outgoing calls

Tested by 1

reset_timerMethod · 0.64