evael ~master (2021-10-23T09:29:02.1632381)
Dub
Repo
Game.onKey
evael
core
game
Game
Event called on key action.
class
Game
extern (
C
) nothrow
void
onKey
(
GLFWwindow
*
window
,
int
key
,
int
scancode
,
int
action
,
int
mods
)
Meta
Source
See Implementation
evael
core
game
Game
constructors
this
destructors
~this
functions
addEvent
addScheduledTask
fixedUpdate
onKey
onMouseButton
onMouseMove
onMouseWheel
onText
onWindowClose
onWindowResize
pollEvents
run
setCursor
setGameState
update
properties
assetLoader
currentGameState
deltaTime
i18n
inputHandler
maxFrameSkip
running
tickrate
window
Event called on key action.