OverlayPriority

Methods
7
Fields
5

Getting one

OverlayPriority.valueOf(…)
OverlayPriority.LOW
OverlayPriority.NONE

Methods

MethodReturnsDescription
name()stringThe constant's name as declared.
ordinal()numberThe constant's 0-based position in values().
toString()stringname(); tostring(c) answers the same.
compareTo(OverlayPriority)numberThis ordinal less other's.
equals(any)booleanWhether other is this constant. == answers the same.
values(){OverlayPriority}Every constant in ordinal order, as a 1-based array: the same frozen array every values() call, so table.clone it before changing it.
valueOf(string)OverlayPriorityvalueOf(name): the constant named name; any other name is an error.

Fields

FieldTypeDescription
LOWOverlayPriorityLOW: ordinal 0.
NONEOverlayPriorityNONE: ordinal 1.
MEDOverlayPriorityMED: ordinal 2.
HIGHOverlayPriorityHIGH: ordinal 3.
HIGHESTOverlayPriorityHIGHEST: ordinal 4.

Returned by

MethodReturnsDescription
OverlayPriorityClass.valueOfOverlayPriorityvalueOf(name): the constant named name; any other name is an error.
OverlayPriorityClass.values{OverlayPriority}Every constant in ordinal order, as a 1-based array: the same frozen array every values() call, so table.clone it before changing it.

Method details

values

values: () -> {OverlayPriority}

Every constant in ordinal order, as a 1-based array: the same frozen array every values() call, so table.clone it before changing it.

valueOf

valueOf: (string) -> OverlayPriority

valueOf(name): the constant named name; any other name is an error.