public void setDirection(Direction nDir) { if (nDir != null) direction = nDir; else direction = Direction.type(0); }
public Coord(byte nX, byte nY, byte nZ) { x = nX; y = nY; z = nZ; direction = Direction.type(0); }