Project

General

Profile

« Previous | Next » 

Revision 211b48f2

Added by Leszek Koltunski over 4 years ago

Separate the States (and also Dialogues) into their own package.

View differences:

src/main/java/org/distorted/magic/RubikSize.java
29 29
  SIZE5 ( 5, R.drawable.button5 ),
30 30
  ;
31 31

  
32
  static final int LENGTH = values().length;
32
  public static final int LENGTH = values().length;
33 33
  private final int mCubeSize, mIconID;
34 34
  private static final RubikSize[] sizes;
35 35

  
......
47 47

  
48 48
///////////////////////////////////////////////////////////////////////////////////////////////////
49 49

  
50
  static RubikSize getSize(int ordinal)
50
  public static RubikSize getSize(int ordinal)
51 51
    {
52 52
    return sizes[ordinal];
53 53
    }
......
62 62

  
63 63
///////////////////////////////////////////////////////////////////////////////////////////////////
64 64

  
65
  int getIconID()
65
  public int getIconID()
66 66
    {
67 67
    return mIconID;
68 68
    }
69 69

  
70 70
///////////////////////////////////////////////////////////////////////////////////////////////////
71 71

  
72
  int getCubeSize()
72
  public int getCubeSize()
73 73
    {
74 74
    return mCubeSize;
75 75
    }

Also available in: Unified diff