Project

General

Profile

« Previous | Next » 

Revision 4e1dc313

Added by Leszek Koltunski over 2 years ago

move the resourceIDs from ObjectList to individual object classes.

View differences:

src/main/java/org/distorted/objectlib/objects/TwistyPyraminx.java
84 84
    return mStates;
85 85
    }
86 86

  
87
///////////////////////////////////////////////////////////////////////////////////////////////////
88

  
89
  protected int getResource(int numLayers)
90
    {
91
    switch(numLayers)
92
      {
93
      case 3: return R.raw.pyra3;
94
      case 4: return R.raw.pyra4;
95
      case 5: return R.raw.pyra5;
96
      }
97

  
98
    return 0;
99
    }
100

  
87 101
///////////////////////////////////////////////////////////////////////////////////////////////////
88 102

  
89 103
  private void initializeQuats()

Also available in: Unified diff