RequestAnimationFrame
Class: Phaser.RequestAnimationFrame
Constructor
new RequestAnimationFrame(game, forceSetTimeOut)
Abstracts away the use of RAF or setTimeOut for the core game update loop.
Parameters
Name | Type | Argument | Default | Description |
---|---|---|---|---|
game | Phaser.Game | A reference to the currently running game. | ||
forceSetTimeOut | boolean | <optional&
|