Revision ed0ea1c5
Added by Leszek Koltunski about 1 year ago
src/main/java/org/distorted/bandaged/BandagedPlayView.java | ||
---|---|---|
22 | 22 |
|
23 | 23 |
import org.distorted.objectlib.main.ObjectControl; |
24 | 24 |
import org.distorted.objectlib.main.TwistyObjectNode; |
25 |
import org.distorted.os.OSInterface; |
|
25 | 26 |
|
26 | 27 |
import static org.distorted.objectlib.main.ObjectControl.MODE_ROTATE; |
27 | 28 |
|
... | ... | |
30 | 31 |
public class BandagedPlayView extends GLSurfaceView |
31 | 32 |
{ |
32 | 33 |
private ObjectControl mObjectController; |
33 |
private BandagedOSInterface mInterface;
|
|
34 |
private OSInterface mInterface; |
|
34 | 35 |
private BandagedPlayRenderer mRenderer; |
35 | 36 |
private int mScreenWidth, mScreenHeight; |
36 | 37 |
private boolean mCreated; |
... | ... | |
81 | 82 |
{ |
82 | 83 |
BandagedPlayActivity act = (BandagedPlayActivity)context; |
83 | 84 |
BandagedPlayLibInterface ref = new BandagedPlayLibInterface(act); |
84 |
mInterface = new BandagedOSInterface(act);
|
|
85 |
mInterface = new OSInterface(act); |
|
85 | 86 |
mObjectController = new ObjectControl(ref,mInterface); |
86 | 87 |
mObjectController.setRotateOnCreation(true); |
87 | 88 |
mRenderer = new BandagedPlayRenderer(this); |
Also available in: Unified diff
Move the OSInterface to a separate module