Subversion Repository Public Repository

litesoft

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package org.litesoft.sandbox.multimodule.common.anywhere.die;

public class Die
{
    private Identifier mCurrentFaceIdentifier;

    public Die( Identifier pCurrentFaceIdentifier )
    {
        mCurrentFaceIdentifier = (pCurrentFaceIdentifier != null) ? pCurrentFaceIdentifier : new Identifier( Orientation.R, 1, 2 );
    }

    public Die()
    {
        this(null);
    }

    public Identifier getCurrentFaceIdentifier()
    {
        return mCurrentFaceIdentifier;
    }

    public int getFace()
    {
        return mCurrentFaceIdentifier.getFace();
    }


}

Commits for litesoft/trunk/GWT_Sandbox/MultiModule/common/src/org/litesoft/sandbox/multimodule/common/anywhere/die/Die.java

Diff revisions: vs.
Revision Author Commited Message
538 Diff Diff GeorgeS picture GeorgeS Sun 02 Oct, 2011 22:14:59 +0000
522 GeorgeS picture GeorgeS Tue 27 Sep, 2011 18:31:40 +0000

Upload Widget...