add_move_to


Description:

public void add_move_to (int x, int y)

Adds a MOVE_TO type node to the path.

This is usually used as the first node in a path. It can also be used in the middle of the path to cause the actor to jump to the new coordinate.

Parameters:

this

a Path

x

the x coordinate

y

the y coordinate