Subversion Repository Public Repository

litesoft

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package org.litesoft.sandbox.anywhere.die;

public enum View
{
    Result, North, East, West, South, Other;

    public View opposite()
    {
        return values()[5 - ordinal()];
    }

    public static View fromOrdinal( int pOrdinal )
    {
        return values()[pOrdinal];
    }
}

Commits for litesoft/trunk/GWT_Sandbox/MultiModule/anywhere/src/org/litesoft/sandbox/anywhere/die/View.java

Diff revisions: vs.
Revision Author Commited Message
540 GeorgeS picture GeorgeS Mon 03 Oct, 2011 04:22:28 +0000