Window::setGameSpeed()
How fast the game runs: 1 is normal, 2 twice as fast, 0.5 half as fast; up to 8. Each tick still is 1/60 s of game time; there are more or fewer of them per second.
Examples
Syntax
Java
.setGameSpeed(speed)
Parameters
| Name | Data Type | Description |
|---|---|---|
| speed | double | the game speed |
Return
void