Class Structure.Priority
java.lang.Object
org.skriptlang.skript.lang.structure.Structure.Priority
- All Implemented Interfaces:
Comparable<Structure.Priority>
- Enclosing class:
Structure
Priorities are used to determine the order in which Structures should be loaded.
As the priority approaches 0, it becomes more important. Example:
priority of 1 (loads first), priority of 2 (loads second), priority of 3 (loads third)
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Priority
public Priority(int priority)
-
-
Method Details
-
getPriority
public int getPriority() -
compareTo
- Specified by:
compareTo
in interfaceComparable<Structure.Priority>
-