mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2025-12-06 19:56:44 +01:00
427 B
427 B
tengri_engine
rendering
input handling
the input thread polls for keyboard events
and passes them onto the application's Handle::handle method.
thus, for a type to be a valid application for engine E,
it must implement the trait Handle<E>, which allows it
to respond to user input.
this thread has write access to the application state, and is responsible for mutating it in response to user activity.