mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-22 05:02:37 +00:00
Gui Magic Cycle
This commit is contained in:
1 parent
a1e886afe5
commit
1f17c6638e
8 files changed
+322
-220
No files matched your search
@@ -1,5 +1,7 @@
|
||||
package noppes.npcs.constants;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public enum EnumDiagramLayout {
|
||||
CIRCULAR("diagram.circular"),
|
||||
SQUARE("diagram.square"),
|
||||
@@ -18,4 +20,12 @@ public enum EnumDiagramLayout {
|
||||
public String getLang(){
|
||||
return lang;
|
||||
}
|
||||
|
||||
public static String[] names(){
|
||||
ArrayList<String> list = new ArrayList<String>();
|
||||
for(EnumDiagramLayout e : values())
|
||||
list.add(e.lang);
|
||||
|
||||
return list.toArray(new String[list.size()]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user