Abstract class BaseOverlay representing the base implementation for Overlay elements. It extends the functionalities of the Overlay trait and the HasName trait.
A BaseOverlay is associated with overlay-specific data defined by OverlayData. It provides access to essential properties like maybeColor, maybeDrawOrder, Icon, and name.
Value parameters
overlayData
The data associated with the overlay, encapsulated in the OverlayData instance.
Attributes
Constructor
Creates a BaseOverlay instance with the specified overlay data.
Retrieves the optional draw order for the overlay. The draw order defines the stacking order for images in overlapping overlays. Higher values are drawn on top of lower values.
Retrieves the optional draw order for the overlay. The draw order defines the stacking order for images in overlapping overlays. Higher values are drawn on top of lower values.
Attributes
Returns
An Option containing the draw order if defined, otherwise None.