Class: Game_Followers

Game_Followers()

new Game_Followers()

The wrapper declare class for a Game_Follower array.
Properties:
Name Type Description
_visible Boolean
_gathering Boolean
_data Array.<Game_Follower>

Methods

areGathered() → {Boolean}

Returns true if the followers are gathered.
Returns:
Type
Boolean

areGathering() → {Boolean}

Returns true if the followers are gathering.
Returns:
Type
Boolean

areMoving() → {Boolean}

Returns true if the followers are moving.
Returns:
Type
Boolean

follower(index) → {Game_Follower}

Returns the followers at the specified index.
Parameters:
Name Type Description
index Number
Returns:
Type
Game_Follower

forEach(callback, thisObject)

Parameters:
Name Type Description
callback function
thisObject *

gather()

Gathers the followers.

hide()

Hides the followers.

initialize()

isSomeoneCollided(x, y) → {Boolean}

Returns true if the specified follower is collided at the specified x and y coordinate.
Parameters:
Name Type Description
x Number
y Number
Returns:
Type
Boolean

isVisible() → {Boolean}

Returns true if the followers are visible.
Returns:
Type
Boolean

jumpAll()

refresh()

Refreshes the game followers.

reverseEach(callback, thisObject)

Parameters:
Name Type Description
callback function
thisObject *

show()

Shows the followers.

synchronize(x, y, d)

Parameters:
Name Type Description
x Number
y Number
d Number

update()

Updates the game followers.

updateMove()

Updates the movement of game followers.

visibleFollowers() → {Array.<Game_Follower>}

Returns the visible followers.
Returns:
Type
Array.<Game_Follower>