From 0c57394d6e302539d922ea6cf883fe57c7111881 Mon Sep 17 00:00:00 2001
From: Andrew Silver
Date: Sat, 30 Dec 2017 02:08:54 +0100
Subject: Updated timer docs
---
doc/classes/Timer.xml | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/doc/classes/Timer.xml b/doc/classes/Timer.xml
index 7ea83b0b2..09071b2ad 100644
--- a/doc/classes/Timer.xml
+++ b/doc/classes/Timer.xml
@@ -15,20 +15,21 @@
- Return the time left for timeout in seconds if the timer is active, 0 otherwise.
+ Returns the timer's remaining time in seconds. Returns 0 if the timer is inactive.
- Return if the timer is paused or not.
+ Returns [code]true[/code] if the timer is paused.
+ Returns [code]true[/code] if the timer is stopped.
@@ -37,14 +38,15 @@
- Set whether the timer is paused or not. A paused timer will be inactive until it is unpaused again.
+ Pauses the timer. If [code]paused[/code] is [code]true[/code], the timer will not process until it is started or unpaused again, even if [method start] is called.
- Start the Timer.
+ Starts the timer. This also resets the remaining time to [code]wait_time[/code].
+ Note: this method will not resume a paused timer. See [method set_paused].
--
cgit v1.3.1