Project

General

Profile

« Previous | Next » 

Revision 8723caee

Added by Leszek Koltunski over 2 years ago

Remove ObjectType from a few moree places.

View differences:

src/main/java/org/distorted/main/RubikObjectLibInterface.java
33 33
import com.google.firebase.crashlytics.FirebaseCrashlytics;
34 34

  
35 35
import org.distorted.library.message.EffectMessageSender;
36

  
36 37
import org.distorted.objectlib.BuildConfig;
37 38
import org.distorted.objectlib.helpers.BlockController;
38 39
import org.distorted.objectlib.helpers.ObjectLibInterface;
......
417 418

  
418 419
///////////////////////////////////////////////////////////////////////////////////////////////////
419 420

  
420
  public int cubitIsLocked(ObjectType type, int cubit)
421
  public int cubitIsLocked(int cubit)
421 422
    {
422
    return SolverMain.cubitIsLocked(type,cubit);
423
    RubikScreenPlay play = (RubikScreenPlay) ScreenList.PLAY.getScreenClass();
424
    ObjectType currObject = play.getObject();
425
    return SolverMain.cubitIsLocked(currObject,cubit);
423 426
    }
424 427
}

Also available in: Unified diff