Preparing search index...
The search index is not available
Excalibur.js Edge API Documentation
Excalibur.js Edge API Documentation
Follow
Class Follow
Used for implementing actions for the
Action API
.
Hierarchy
Follow
Implements
Action
Index
Constructors
constructor
Properties
x
y
Methods
is
Complete
reset
stop
update
Constructors
constructor
new
Follow
(
entity
:
Entity
, entityToFollow
:
Entity
, followDistance
?:
number
)
:
Follow
Parameters
entity:
Entity
entityToFollow:
Entity
Optional
followDistance:
number
Returns
Follow
Properties
x
x
:
number
y
y
:
number
Methods
is
Complete
is
Complete
(
)
:
boolean
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
Follow
constructor
x
y
is
Complete
reset
stop
update
Used for implementing actions for the Action API.