Revision ce31f774
Added by Leszek Koltunski about 1 year ago
src/main/java/org/distorted/tutorials/TutorialSurfaceView.java | ||
---|---|---|
85 | 85 |
{ |
86 | 86 |
TutorialActivity act = (TutorialActivity)context; |
87 | 87 |
TutorialObjectLibInterface ref = new TutorialObjectLibInterface(act); |
88 |
mObjectController = new ObjectControl(act,ref);
|
|
88 |
mObjectController = new ObjectControl(ref); |
|
89 | 89 |
mRenderer = new TutorialRenderer(this); |
90 | 90 |
|
91 | 91 |
final ActivityManager activityManager= (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE); |
Also available in: Unified diff
remove all references to android.Context and android.Activity from distorted-objectlib