Skip to main content

FPS

Methods

setup

Sets the fps of the game.

fps.setup(amount: number) -> null

advance

Advances the interval and returns true if the frame is valid.

fps.advance() -> boolean