Interface MapDecoration

All Superinterfaces:

public interface MapDecoration extends DataSerializable
A MapDecoration represents a symbol that may be placed at a specific point on a map, which exists as a separate layer on top of a MapCanvas. A common example of a Decoration is the player marker.

Unlike a MapCanvas which is a relatively static feature of a MapInfo, the position and rotation of decorations can be updated more easily.

The co-ordinate system used when getting or setting a decoration's location on a map is independent of any world a map may be based on. Instead, valid co-ordinates range from -128 to 127. The bottom left corner of the map is given by the co-ordinates (-128, -128).