pixelperfectengine ~master (2023-12-13T21:18:59Z)
Dub
Repo
SnakeGame.keyEvent
snake
app
SnakeGame
Key event data is received here.
class
SnakeGame
void
keyEvent
(
uint
id
,
BindingCode
code
,
uint
timestamp
,
bool
isPressed
)
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
Key event data is received here.