Members
FPS
Default FPS
- Source:
getFPS
get the number of FPS the game is running at
- Source:
postRender
Executes after rendering function to polish results
- Source:
process
executed before the update method to perform activities such as user input
- Source:
render
render function
- Source:
setFPS
Set Desired FPS
- Source:
start
used to start the loop
- Source:
update
Updates state of the objects
- Source:
Methods
add(stage, func)
Adds a function to one of the different stages of the loop
Parameters:
| Name | Type | Description |
|---|---|---|
stage |
string | Stage of the loop |
func |
function | function to add to the arrays |
- Source:
empty()
Created by demi on 11/21/15.
- Source:
empty()
Created by demi on 11/22/15.
- Source:
empty()
Created by demi on 11/21/15.
- Source:
remove(stage, func)
Removes a function from one of the different stages of the loop
Parameters:
| Name | Type | Description |
|---|---|---|
stage |
string | Stage of the loop |
func |
function | function to remove from the arrays |
- Source: