ysge ~master (2026-07-03T20:13:52.8143379)
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
constructors
this
destructors
~this
functions
AddScene
GetGameDirectory
GetResolution
Init
InitLibs
InitWindow
KeyPressed
LoadFontData
LoadFontFile
LoadTextureFromData
LoadTextureFromFile
Run
SetResolution
SetScene
SetWindowSize
variables
currentScene
font
frames
logicalRes
mousePos
renderer
running
scenes
usingLogicalRes
window
checks if a key is pressed