Allows setting the Timer wait_time in start method.

Allows shortening the two line method of Timer.set_wait_time
followed by Timer.start set wait_time as a parameter to
Timer.start. Also modifies the class documentation.

Fixes: #18107
This commit is contained in:
Anish
2018-04-27 01:12:50 +05:30
parent e5a13e2626
commit f714637e58
3 changed files with 9 additions and 4 deletions

View File

@ -64,7 +64,7 @@ public:
void set_autostart(bool p_start);
bool has_autostart() const;
void start();
void start(float p_time = -1);
void stop();
void set_paused(bool p_paused);