Constructor


Follower(chara: any, x: any, y: any, target: any)

Arguments:

chara: any
x: any
y: any
target: any




Methods




Follower:copyHistoryFrom(target: any)

Arguments:

target: any




Follower:getFollowDelay()

Gets the delay in seconds this follower will follow its target's position, taking into account the delay of followers in front of itself.

Returns:

1: unknown










Follower:moveToTarget(speed: any)

Arguments:

speed: any

Returns:

1: integer|unknown
2: number|unknown


Follower:onAdd(parent: any)

Arguments:

parent: any


Follower:onRemove(parent: any)

Arguments:

parent: any


Follower:returnToFollowing(speed: any)

Arguments:

speed: any




Follower:updateHistory(moved: any, auto: any)

Arguments:

moved: any
auto: any





Fields



Undocumented