23 lines
373 B
Java
23 lines
373 B
Java
package com.sekwah.advancedportals.core.data;
|
|
|
|
public enum Direction {
|
|
|
|
NORTH(0, 0, -1),
|
|
EAST(1, 0, 0),
|
|
SOUTH(0, 0, 1),
|
|
WEST(-1, 0, 0),
|
|
UP(0, 1, 0),
|
|
DOWN(0, -1, 0)
|
|
;
|
|
|
|
public final int x;
|
|
public final int y;
|
|
public final int z;
|
|
|
|
Direction(int x, int y, int z) {
|
|
this.x = x;
|
|
this.y = y;
|
|
this.z = z;
|
|
}
|
|
}
|