Project

General

Profile

« Previous | Next » 

Revision e9245b7b

Added by Leszek Koltunski 6 months ago

Initial support for the new Pattern Dialog.

View differences:

src/main/java/org/distorted/main/MainActivity.java
43 43
import org.distorted.external.RubikNetwork;
44 44
import org.distorted.external.RubikScores;
45 45
import org.distorted.external.RubikUpdates;
46
import org.distorted.main_old.RubikSurfaceView;
46 47
import org.distorted.messaging.RubikInAppMessanging;
48
import org.distorted.objectlib.main.ObjectControl;
47 49
import org.distorted.objects.RubikObjectList;
48
import org.distorted.purchase.PurchaseActivity;
50
import org.distorted.patternui.PatternActivity;
49 51
import org.distorted.solverui.SolverActivity;
50 52
import org.distorted.tutorials.TutorialActivity;
51 53

  
......
396 398
      startActivity(intent);
397 399
      }
398 400

  
401
///////////////////////////////////////////////////////////////////////////////////////////////////
402

  
403
    public void switchToPattern(int objectOrdinal)
404
      {
405
      Intent intent = new Intent(this, PatternActivity.class);
406
      intent.putExtra("obj", objectOrdinal);
407
      startActivity(intent);
408
      }
409

  
399 410
///////////////////////////////////////////////////////////////////////////////////////////////////
400 411

  
401 412
    public void onScores(View v)

Also available in: Unified diff