InputPlugin
Defined in: InputPlugin.ts:16
Input plugin — wires keyboard and pointer listeners, registers InputManager.
Implements
Section titled “Implements”Plugin
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new InputPlugin(
config?):InputPlugin
Defined in: InputPlugin.ts:25
Parameters
Section titled “Parameters”config?
Section titled “config?”Returns
Section titled “Returns”InputPlugin
Properties
Section titled “Properties”
readonlyname:"input"="input"
Defined in: InputPlugin.ts:17
Unique plugin name.
Implementation of
Section titled “Implementation of”Plugin.name
version
Section titled “version”
readonlyversion:"2.0.0"="2.0.0"
Defined in: InputPlugin.ts:18
Semantic version string.
Implementation of
Section titled “Implementation of”Plugin.version
Methods
Section titled “Methods”install()
Section titled “install()”install(
context):void
Defined in: InputPlugin.ts:29
Install services into the engine context. Called in topological order.
Parameters
Section titled “Parameters”context
Section titled “context”EngineContext
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”Plugin.install
onDestroy()
Section titled “onDestroy()”onDestroy():
void
Defined in: InputPlugin.ts:136
Called when the engine is destroyed.
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”Plugin.onDestroy
onStart()
Section titled “onStart()”onStart():
void
Defined in: InputPlugin.ts:131
Called after all plugins are installed and the engine has started.
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”Plugin.onStart
registerSystems()
Section titled “registerSystems()”registerSystems(
scheduler):void
Defined in: InputPlugin.ts:126
Register systems with the scheduler. Called after install.
Parameters
Section titled “Parameters”scheduler
Section titled “scheduler”SystemScheduler
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”Plugin.registerSystems