Project

General

Profile

« Previous | Next » 

Revision 588ace55

Added by Leszek Koltunski over 2 years ago

Prepare the 'objectlib' package to be separated into a library module

View differences:

src/main/java/org/distorted/tutorials/TutorialPreRender.java
27 27
import org.distorted.helpers.BlockController;
28 28
import org.distorted.helpers.MovesFinished;
29 29
import org.distorted.helpers.TwistyPreRender;
30
import org.distorted.objectlb.ObjectList;
31
import org.distorted.objectlb.TwistyObject;
30
import org.distorted.main.RubikActivity;
31
import org.distorted.objectlib.ObjectList;
32
import org.distorted.objectlib.TwistyObject;
32 33

  
33 34
///////////////////////////////////////////////////////////////////////////////////////////////////
34 35

  
......
92 93
    Context con = mView.getContext();
93 94
    Resources res = con.getResources();
94 95

  
95
    mNewObject = object.create(size, mView.getQuat(), null, res, mScreenWidth);
96
    mNewObject = RubikActivity.create(object,size, mView.getQuat(), null, res, mScreenWidth);
96 97

  
97 98
    if( mNewObject!=null )
98 99
      {

Also available in: Unified diff