StaticsystemThe name the configuration uses for the system.
DefineSystem sets it, so a game usually does not assign it.
StaticwithLists the system in EngineOptions.systems together with its dependencies: classes and functions from the game code that cannot live in the configuration. The system receives them as the second argument of its constructor.
The dependencies of the system.
A binding to put into EngineOptions.systems.
Listens to the keyboard and sends the KeyboardInput event on the world.
The system sends one event when a key goes down and one when it goes up.
Options:
useWindow: listens onwindow.windowNodeId: the id of the element to listen on whenuseWindowis off.See
Input