litesoft
@ 538
litesoft / trunk / GWT_Sandbox / MultiModule / common / src / org / litesoft / sandbox / multimodule / common / client / Places.java
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
package org.litesoft.sandbox.multimodule.common.client; public enum Places { Front, // Top, // Right, // Left, // Bottom, // Back; // public Places getOppositeFace() { return values()[6-ordinal()]; } public static Places fromOrdinal( int pOrdinal ) { return values()[pOrdinal]; } } |