Main Functions
init()
Runs once on start.
update()
Runs every x value (by default equals 60, can be changed with setUpdate(x)
function).
getKey(id)
Every time any key is pressed this function runs with specific ID.
onDeath()
Is called every time when player dies.
Last updated