Revision ce31f774
Added by Leszek Koltunski about 1 year ago
src/main/java/org/distorted/purchase/PurchaseSurfaceView.java | ||
---|---|---|
72 | 72 |
if(!isInEditMode()) |
73 | 73 |
{ |
74 | 74 |
PurchaseActivity act = (PurchaseActivity)context; |
75 |
PurchaseObjectLibInterface ref = new PurchaseObjectLibInterface(); |
|
76 |
mObjectController = new ObjectControl(act,ref);
|
|
75 |
PurchaseObjectLibInterface ref = new PurchaseObjectLibInterface(act);
|
|
76 |
mObjectController = new ObjectControl(ref); |
|
77 | 77 |
mObjectController.setRotateOnCreation(true); |
78 | 78 |
mRenderer = new PurchaseRenderer(this); |
79 | 79 |
|
Also available in: Unified diff
remove all references to android.Context and android.Activity from distorted-objectlib