waitUntilInArea

static boolean waitUntilInArea(Area area, int timeout)

Waits until my player is in the specified area, or the timeout limit is reached

Return

true if the player reached the area, false if the timeout was reached

Parameters

area

the area that the player will be in

timeout

the timeout in milliseconds