InputPlugin
Defined in: plugins/input/InputPlugin.ts:39
Extends
Implements
Constructors
new InputPlugin()
new InputPlugin(
id
):InputPlugin
Defined in: plugins/Plugin.ts:48
Parameters
id
string
= 'Plugin'
Returns
Inherited from
Properties
__dill_pixel_method_binding_root
__dill_pixel_method_binding_root:
boolean
Defined in: plugins/Plugin.ts:39
Inherited from
Plugin
.__dill_pixel_method_binding_root
activeControllers
activeControllers:
Set
<string
>
Defined in: plugins/input/InputPlugin.ts:47
Implementation of
IInputPlugin
.activeControllers
activeGamepads
activeGamepads:
Map
<string
,Gamepad
>
Defined in: plugins/input/InputPlugin.ts:46
Implementation of
controls
readonly
controls:Controls
Defined in: plugins/input/InputPlugin.ts:43
Implementation of
id
readonly
id:"input"
='input'
Defined in: plugins/input/InputPlugin.ts:40
Implementation of
Overrides
onControllerActivated
onControllerActivated:
Signal
<(controller
) =>void
>
Defined in: plugins/input/InputPlugin.ts:51
Implementation of
IInputPlugin
.onControllerActivated
onControllerDeactivated
onControllerDeactivated:
Signal
<(controller
) =>void
>
Defined in: plugins/input/InputPlugin.ts:52
Implementation of
IInputPlugin
.onControllerDeactivated
onGamepadConnected
onGamepadConnected:
Signal
<(gamepad
) =>void
>
Defined in: plugins/input/InputPlugin.ts:49
Implementation of
IInputPlugin
.onGamepadConnected
onGamepadDisconnected
onGamepadDisconnected:
Signal
<(gamepad
) =>void
>
Defined in: plugins/input/InputPlugin.ts:50
Implementation of
IInputPlugin
.onGamepadDisconnected
Accessors
actionsPlugin
Get Signature
get actionsPlugin():
IActionsPlugin
Defined in: plugins/input/InputPlugin.ts:166
Returns
app
Get Signature
get app():
A
Defined in: plugins/Plugin.ts:53
Returns
A
Implementation of
Inherited from
options
Get Signature
get options():
O
Defined in: plugins/Plugin.ts:44
Returns
O
Implementation of
Inherited from
Methods
addSignalConnection()
addSignalConnection(…
args
):void
Defined in: plugins/Plugin.ts:79
Add signal connections to the container.
Parameters
args
…SignalConnection
[]
The signal connections to add.
Returns
void
Implementation of
IInputPlugin
.addSignalConnection
Inherited from
clearSignalConnections()
clearSignalConnections():
void
Defined in: plugins/Plugin.ts:85
Returns
void
Implementation of
IInputPlugin
.clearSignalConnections
Inherited from
destroy()
destroy():
void
Defined in: plugins/input/InputPlugin.ts:79
Returns
void
Implementation of
Overrides
initialize()
initialize(
options
,app
):Promise
<void
>
Defined in: plugins/input/InputPlugin.ts:58
Parameters
options
Partial
<InputManagerOptions
> = defaultOptions
app
Returns
Promise
<void
>
Implementation of
Overrides
isActionActive()
isActionActive(
action
):boolean
Defined in: plugins/input/InputPlugin.ts:54
Parameters
action
Returns
boolean
Implementation of
isControllerActive()
isControllerActive(
controller
):boolean
Defined in: plugins/input/InputPlugin.ts:90
Parameters
controller
Returns
boolean
Implementation of
IInputPlugin
.isControllerActive
isGamepadActive()
isGamepadActive(
gamepad
):boolean
Defined in: plugins/input/InputPlugin.ts:94
Parameters
gamepad
Gamepad
Returns
boolean
Implementation of
postInitialize()
postInitialize():
void
Defined in: plugins/input/InputPlugin.ts:73
Returns
void