From 030528a2852dc572cd0fdbb407a60855eb1f87a4 Mon Sep 17 00:00:00 2001 From: Chris Bradfield Date: Sat, 9 Sep 2017 11:52:40 -0700 Subject: [PATCH] Update Timer class ref. --- doc/base/classes.xml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 96d515de5e..0e9b9d333e 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -52809,10 +52809,10 @@ - A simple Timer node. + A countdown timer. - Timer node. This is a simple node that will emit a timeout callback when the timer runs out. It can optionally be set to loop. + Counts down a specified interval and emits a signal on reaching 0. Can be set to repeat or "one shot" mode. @@ -52912,40 +52912,44 @@ - Start the timer. + Start the Timer. - Stop (cancel) the timer. + Stop (cancel) the Timer. + If [code]true[/code], Timer will automatically start when entering the scene tree. Default value: [code]false[/code]. + If [code]true[/code], Timer will stop when reaching 0. If [code]false[/code], it will restart. Default value: [code]false[/code]. + Processing mode. Uses TIMER_PROCESS_* constants as value. + Wait time in seconds. - Emitted when the time runs out. + Emitted when the Timer reaches 0. - Update the timer at fixed intervals (framerate processing). + Update the Timer at fixed intervals (framerate processing). - Update the timer during the idle time at each frame. + Update the Timer during the idle time at each frame.