If you think the Android project abalone-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Java Source Code
/**
* Copyright (c) 2010-2011 Yaroslav Geryatovich, Alexander Yakushev
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*//*www.java2s.com*/package com.bytopia.abalone.mechanics;
/**
* Pseudo-enumeration that represents possible all directions of movement.
*
* @author Bytopia
*/publicclass Direction {
publicfinalstaticbyte NorthWest = 0;
publicfinalstaticbyte North = 1;
publicfinalstaticbyte East = 2;
publicfinalstaticbyte West = 3;
publicfinalstaticbyte South = 4;
publicfinalstaticbyte SouthEast = 5;
publicfinalstaticbyte[] storage = { NorthWest, North, East, West, South,
SouthEast };
publicfinalstaticbyte[] opposite = { SouthEast, South, West, East, North,
NorthWest };
/**
* Private constructor to ensure that class is service-only.
*/private Direction() {
}
}