Project

General

Profile

« Previous | Next » 

Revision ce31f774

Added by Leszek Koltunski about 1 year ago

remove all references to android.Context and android.Activity from distorted-objectlib

View differences:

src/main/java/org/distorted/config/ConfigSurfaceView.java
75 75
      if(!isInEditMode())
76 76
        {
77 77
        ConfigActivity act = (ConfigActivity)context;
78
        ConfigObjectLibInterface ref = new ConfigObjectLibInterface();
79
        mObjectController = new ObjectControl(act,ref);
78
        ConfigObjectLibInterface ref = new ConfigObjectLibInterface(act);
79
        mObjectController = new ObjectControl(ref);
80 80
        mObjectController.setRotateOnCreation(true);
81 81
        mRenderer = new ConfigRenderer(this);
82 82

  

Also available in: Unified diff