Revision ed0ea1c5
Added by Leszek Koltunski about 1 year ago
src/main/java/org/distorted/main/RubikSurfaceView.java | ||
---|---|---|
24 | 24 |
import org.distorted.library.main.DistortedScreen; |
25 | 25 |
import org.distorted.objectlib.main.ObjectControl; |
26 | 26 |
import org.distorted.objectlib.main.TwistyObjectNode; |
27 |
import org.distorted.os.OSInterface; |
|
27 | 28 |
import org.distorted.overlays.DataStars; |
28 | 29 |
import org.distorted.overlays.OverlayStars; |
29 | 30 |
import org.distorted.screens.ScreenList; |
... | ... | |
33 | 34 |
public class RubikSurfaceView extends GLSurfaceView |
34 | 35 |
{ |
35 | 36 |
private ObjectControl mObjectController; |
36 |
private RubikOSInterface mInterface;
|
|
37 |
private OSInterface mInterface; |
|
37 | 38 |
private RubikRenderer mRenderer; |
38 | 39 |
private int mScreenWidth, mScreenHeight; |
39 | 40 |
private boolean mCreated; |
... | ... | |
112 | 113 |
{ |
113 | 114 |
RubikActivity act = (RubikActivity)context; |
114 | 115 |
RubikObjectLibInterface ref = new RubikObjectLibInterface(act); |
115 |
mInterface = new RubikOSInterface(act);
|
|
116 |
mInterface = new OSInterface(act); |
|
116 | 117 |
mObjectController = new ObjectControl(ref,mInterface); |
117 | 118 |
mRenderer = new RubikRenderer(this); |
118 | 119 |
|
Also available in: Unified diff
Move the OSInterface to a separate module