ysge v1.1.0 (2023-05-25T17:36:40Z)
Dub
Repo
Project.KeyPressed
ysge
project
Project
checks if a key is pressed
class
Project
bool
KeyPressed
(
SDL_Scancode
key
)
Meta
Source
See Implementation
ysge
project
Project
functions
AddScene
GetGameDirectory
GetResolution
Init
InitText
InitWindow
KeyPressed
LoadFontData
LoadFontFile
Run
SetResolution
SetScene
variables
currentScene
font
frames
logicalRes
mousePos
renderer
running
scenes
usingLogicalRes
window
checks if a key is pressed