start Countdown
Start the countdown timer for the amount of gameplay time. The current game lasts for this amount of time.
info.startCountdown(0)
The game time is set as a number of seconds. When the game time finishes, a game over notification happens and the current game ends.
Parameters
- duration: the number seconds to play the game for.
Example
Set the game time to 30
seconds.
info.startCountdown(30)