Project

General

Profile

« Previous | Next » 

Revision c4175d85

Added by Leszek Koltunski over 2 years ago

Simplify TwistyObject's API.

View differences:

src/main/java/org/distorted/main/RubikSurfaceView.java
257 257
              int color = solver.getCurrentColor();
258 258
              mLastCubit = object.getCubit(point);
259 259
              mPreRender.setTextureMap( mLastCubit, mLastCubitFace, color );
260
              mLastCubitColor = SolverMain.cubitIsLocked(object.getObjectList(), mLastCubit);
260
              mLastCubitColor = SolverMain.cubitIsLocked(object.getObjectType(), mLastCubit);
261 261
              }
262 262
            }
263 263
          }

Also available in: Unified diff