Search
Preparing search index...
The search index is not available
Craters - v0.1.0-rebase.12
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Craters - v0.1.0-rebase.12
Input
Class Input
Hierarchy
Input
Index
Constructors
constructor
Properties
bindings
pressed
KEY
Methods
bind
bind
Keys
is
Pressed
keydown
keyup
unbind
Keys
Constructors
constructor
new
Input
(
)
:
Input
Returns
Input
Properties
Private
bindings
bindings
:
Map
<
string
,
string
>
= ...
Private
pressed
pressed
:
Map
<
string
,
number
>
= ...
Static
KEY
KEY
:
{}
= ...
Type declaration
[
key:
string
]:
string
Methods
bind
bind
(
key
:
string
, action
:
string
)
:
void
Parameters
key:
string
action:
string
Returns
void
bind
Keys
bind
Keys
(
)
:
void
Returns
void
is
Pressed
is
Pressed
(
action
:
string
)
:
number
Parameters
action:
string
Returns
number
Private
keydown
keydown
(
event
:
KeyboardEvent
)
:
void
Parameters
event:
KeyboardEvent
Returns
void
Private
keyup
keyup
(
event
:
KeyboardEvent
)
:
void
Parameters
event:
KeyboardEvent
Returns
void
unbind
Keys
unbind
Keys
(
)
:
void
Returns
void
Exports
Entity
Component
System
Input
constructor
bindings
pressed
KEY
bind
bind
Keys
is
Pressed
keydown
keyup
unbind
Keys