pixelperfectengine ~master (2023-12-13T21:18:59Z)
Dub
Repo
SnakeGame.timerEvent
snake
app
SnakeGame
A timer event, to make the game run stable regardless of the framerate.
class
SnakeGame
void
timerEvent
(
Duration
jitter
)
Meta
Source
See Implementation
snake
app
SnakeGame
constructors
this
enums
Direction
TileTypes
functions
axisEvent
clearTilemap
controllerAdded
controllerRemoved
keyEvent
moveSnake
onQuit
placeNextApple
timerEvent
whereTheMagicHappens
variables
apple
dir
empty
ih
output
playfield
prevDir
raster
rng
score
snakeH
snakeHead
snakeNE
snakeNW
snakeSE
snakeSW
snakeV
state
A timer event, to make the game run stable regardless of the framerate.