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