mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2025-12-06 11:46:42 +01:00
16 lines
424 B
Markdown
16 lines
424 B
Markdown
# `tek_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.
|