Revision 3f7a4363
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/tutorials/TutorialPreRender.java | ||
---|---|---|
22 | 22 |
import android.content.Context; |
23 | 23 |
import android.content.res.Resources; |
24 | 24 |
|
25 |
import org.distorted.objectlib.main.ObjectList; |
|
26 |
import org.distorted.objectlib.main.TwistyObject; |
|
27 |
|
|
25 | 28 |
import org.distorted.effects.BaseEffect; |
26 | 29 |
import org.distorted.effects.EffectController; |
27 | 30 |
import org.distorted.helpers.BlockController; |
28 | 31 |
import org.distorted.helpers.MovesFinished; |
29 | 32 |
import org.distorted.helpers.TwistyPreRender; |
30 |
import org.distorted.main.RubikActivity; |
|
31 |
import org.distorted.objectlib.ObjectList; |
|
32 |
import org.distorted.objectlib.TwistyObject; |
|
33 | 33 |
|
34 | 34 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
35 | 35 |
|
... | ... | |
93 | 93 |
Context con = mView.getContext(); |
94 | 94 |
Resources res = con.getResources(); |
95 | 95 |
|
96 |
mNewObject = RubikActivity.create(object,size, mView.getQuat(), null, res, mScreenWidth);
|
|
96 |
mNewObject = object.create(size, mView.getQuat(), null, res, mScreenWidth);
|
|
97 | 97 |
|
98 | 98 |
if( mNewObject!=null ) |
99 | 99 |
{ |
Also available in: Unified diff
Remove all files that have been separated into a new library 'objectlib'