Subversion Repository Public Repository

litesoft

Diff Revisions 547 vs 548 for /trunk/GWT_Sandbox/MultiModule/foundation/src/org/litesoft/sandbox/multimodule/foundation/client/Places.java

Diff revisions: vs.
  @@ -2,16 +2,17 @@
2 2
3 3 public enum Places
4 4 {
5 - Front, //
6 - Top, //
7 - Left, //
8 - Right, //
9 - Bottom, //
10 - Back; //
5 + Home, // ... 0
6 + Front, // .. 1
7 + Top, // .... 2
8 + Left, // ... 3
9 + Right, // .. 4
10 + Bottom, // . 5
11 + Back; // ... 6
11 12
12 13 public Places getOppositeFace()
13 14 {
14 - return values()[5-ordinal()];
15 + return values()[7-ordinal()];
15 16 }
16 17
17 18 public static Places fromOrdinal( int pOrdinal )