pixelperfectengine ~master (2023-12-13T21:18:59Z)
Dub
Repo
SnakeGame.prevDir
snake
app
SnakeGame
Contains the previous direction.
class
SnakeGame
ubyte
prevDir
;
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
Contains the previous direction.