Crafty.stop()
Events
- CraftyStop [Data = {bool clearState}]
- when the game is stopped
public this Crafty.stop([bool clearState])
- clearState
if true the stage and all game state is cleared.
Stops the UpdateFrame
interval and removes the stage element.
To restart, use Crafty.init()
.