Preparing search index...
The search index is not available
Craters - v0.2.0
Craters - v0.2.0
Input
Class Input
Hierarchy
Input
Index
Constructors
constructor
Properties
pointer
Position
KEY
Methods
bind
bind
Keys
is
Pressed
unbind
Keys
Constructors
constructor
new
Input
(
)
:
Input
Returns
Input
Properties
pointer
Position
pointer
Position
:
{
x
:
number
;
y
:
number
;
}
= ...
Type declaration
x
:
number
y
:
number
Static
KEY
KEY
:
{
[key:
string
]
:
string
;
}
= ...
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
unbind
Keys
unbind
Keys
(
)
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Modules
Craters -
v0.2.0
Guides
Assets
Manager
Canvas2DRenderer
ECS
Font
Manager
Input
Particle
System
Quad
Tree
Render
Loop
Rigid
Body
SAT
Sound
Sprite
Tile
Tilemap
Manager
Vector
WebGLRenderer
Entity
Component
System
Quad
Tree
SAT
Input
constructor
pointer
Position
KEY
bind
bind
Keys
is
Pressed
unbind
Keys