Preparing search index...
The search index is not available
Excalibur.js Edge API Documentation
Excalibur.js Edge API Documentation
MoveTo
Class MoveTo
Used for implementing actions for the
Action API
.
Hierarchy
MoveTo
Implements
Action
Index
Constructors
constructor
Properties
entity
x
y
Methods
is
Complete
reset
stop
update
Constructors
constructor
new
Move
To
(
entity
:
Entity
, destx
:
number
, desty
:
number
, speed
:
number
)
:
MoveTo
Parameters
entity:
Entity
destx:
number
desty:
number
speed:
number
Returns
MoveTo
Properties
entity
entity
:
Entity
x
x
:
number
y
y
:
number
Methods
is
Complete
is
Complete
(
entity
:
Entity
)
:
boolean
Parameters
entity:
Entity
Returns
boolean
reset
reset
(
)
:
void
Returns
void
stop
stop
(
)
:
void
Returns
void
update
update
(
_delta
:
number
)
:
void
Parameters
_delta:
number
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Modules
Excalibur.js
Edge API
Documentation
Events
Input
Side
Util
Draw
Util
webgl
Move
To
constructor
entity
x
y
is
Complete
reset
stop
update
Used for implementing actions for the Action API.