Revision e019c70b
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/tutorials/TutorialSurfaceView.java | ||
---|---|---|
82 | 82 |
if(!isInEditMode()) |
83 | 83 |
{ |
84 | 84 |
TutorialActivity act = (TutorialActivity)context; |
85 |
mObjectController = new ObjectControl(act,new TutorialObjectStateActioner()); |
|
85 |
TutorialObjectLibInterface ref = new TutorialObjectLibInterface(act); |
|
86 |
mObjectController = new ObjectControl(act,ref); |
|
86 | 87 |
mRenderer = new TutorialRenderer(this); |
87 | 88 |
|
88 | 89 |
final ActivityManager activityManager= (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE); |
Also available in: Unified diff
Remove the concept of a 'TwistyActivity' altogether.