Separate the color and positional enums
This commit is contained in:
@@ -1,30 +0,0 @@
|
||||
package backsun.lod.objects;
|
||||
|
||||
/**
|
||||
* Position: NE, SE, SW, NW
|
||||
* <br>
|
||||
* Color: TOP, N, S, E, W, BOTTOM
|
||||
*/
|
||||
public enum Pos
|
||||
{
|
||||
// used for position
|
||||
NE(0),
|
||||
SE(1),
|
||||
SW(2),
|
||||
NW(3),
|
||||
|
||||
// used for colors
|
||||
TOP(0),
|
||||
N(1),
|
||||
S(2),
|
||||
E(3),
|
||||
W(4),
|
||||
BOTTOM(5);
|
||||
|
||||
public final int index;
|
||||
|
||||
private Pos(int newValue)
|
||||
{
|
||||
index = newValue;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package backsun.lod.util.enums;
|
||||
|
||||
/**
|
||||
* TOP, N, S, E, W, BOTTOM
|
||||
*/
|
||||
public enum ColorPosition
|
||||
{
|
||||
// used for colors
|
||||
TOP(0),
|
||||
N(1),
|
||||
S(2),
|
||||
E(3),
|
||||
W(4),
|
||||
BOTTOM(5);
|
||||
|
||||
public final int index;
|
||||
|
||||
private ColorPosition(int newValue)
|
||||
{
|
||||
index = newValue;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package backsun.lod.util.enums;
|
||||
|
||||
public enum LodPosition
|
||||
{
|
||||
// used for position
|
||||
NE(0),
|
||||
SE(1),
|
||||
SW(2),
|
||||
NW(3);
|
||||
|
||||
public final int index;
|
||||
|
||||
private LodPosition(int newValue)
|
||||
{
|
||||
index = newValue;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user