Project

General

Profile

« Previous | Next » 

Revision 8ab435b9

Added by Leszek Koltunski over 2 years ago

1. Remove 'db level' from objectlib (this belongs to the app!)
2. change ScreenPlay's 'mObject' to be an ObjectType.

View differences:

src/main/java/org/distorted/dialogs/RubikDialogScoresPagerAdapter.java
109 109
    {
110 110
    prepareView();
111 111

  
112
    ObjectType[] types = ObjectType.values();
112 113
    int MAX = RubikScreenPlay.LEVELS_SHOWN;
113 114
    int toDo=0;
114 115
    int[] toDoTab = new int[mNumTabs];
......
117 118

  
118 119
    for(int i=0; i<mNumTabs; i++)
119 120
      {
120
      lastTab[i]= ObjectType.getDBLevel(i);
121
      lastTab[i]= RubikScreenPlay.getDBLevel(types[i]);
121 122
      maxTab[i] = Math.min(lastTab[i],MAX);
122 123
      toDoTab[i]= 0;
123 124

  

Also available in: Unified diff