Handles game ticks
public void Crafty.timer.step()
Advances the game by triggering EnterFrame
and calls Crafty.DrawManager.draw
to update the stage.
public void Crafty.timer.getFPS()
Returns the target frames per second. This is not an actual frame rate.
Advances the game state by a number of frames and draws the resulting stage at the end. Useful for tests and debugging.
public this Crafty.timer.simulateFrames(Number frames)