Project

General

Profile

« Previous | Next » 

Revision d7f0c07d

Added by Leszek Koltunski over 1 year ago

Beginnings of support for 'Overlays': first overlay will be the rotating star which little stars fly to when one solves a level for the first time.

View differences:

src/main/java/org/distorted/main/RubikActivity.java
37 37
import org.distorted.bandaged.BandagedCreatorActivity;
38 38
import org.distorted.library.main.DistortedLibrary;
39 39

  
40
import org.distorted.library.main.DistortedScreen;
40 41
import org.distorted.messaging.RubikInAppMessanging;
41 42
import org.distorted.objectlib.main.ObjectControl;
42 43
import org.distorted.objectlib.main.TwistyObject;
......
456 457
      return view.getObjectControl().getObject();
457 458
      }
458 459

  
460
///////////////////////////////////////////////////////////////////////////////////////////////////
461

  
462
    public DistortedScreen getScreen()
463
      {
464
      RubikSurfaceView view = findViewById(R.id.rubikSurfaceView);
465
      return view.getRenderer().getScreen();
466
      }
467

  
459 468
///////////////////////////////////////////////////////////////////////////////////////////////////
460 469

  
461 470
    public ObjectControl getControl()

Also available in: Unified diff