Project

General

Profile

« Previous | Next » 

Revision c7238c67

Added by Leszek Koltunski almost 2 years ago

IAP part 5: new 'Purchase' activity.

View differences:

src/main/java/org/distorted/main/RubikActivity.java
48 48
import org.distorted.external.RubikNetwork;
49 49
import org.distorted.objects.RubikObject;
50 50
import org.distorted.objects.RubikObjectList;
51
import org.distorted.purchase.PurchaseActivity;
51 52
import org.distorted.screens.RubikScreenSolving;
52 53
import org.distorted.screens.ScreenList;
53 54
import org.distorted.screens.RubikScreenPlay;
......
656 657
      startActivity(intent);
657 658
      }
658 659

  
660
///////////////////////////////////////////////////////////////////////////////////////////////////
661

  
662
    public void switchToPurchase(int objectOrdinal)
663
      {
664
      Intent intent = new Intent(this, PurchaseActivity.class);
665
      intent.putExtra("obj", objectOrdinal);
666
      startActivity(intent);
667
      }
668

  
659 669
///////////////////////////////////////////////////////////////////////////////////////////////////
660 670

  
661 671
    public void reloadObject(String shortName)

Also available in: Unified diff