addCursor

public MapCursor addCursor(MapCursor cursor)

Add getClassById cursor to the collection.

Return

The MapCursor that was passed.

Parameters

cursor

The MapCursor to add.


public MapCursor addCursor(int x, int y, byte direction)

Add getClassById cursor to the collection.

Return

The newly added MapCursor.

Parameters

x

The x coordinate, from -128 to 127.

y

The y coordinate, from -128 to 127.

direction

The facing of the cursor, from 0 to 15.