Project

General

Profile

« Previous | Next » 

Revision 1bafcba4

Added by Leszek Koltunski over 2 years ago

Simplifications

View differences:

src/main/java/org/distorted/main/RubikSurfaceView.java
31 31

  
32 32
import org.distorted.library.type.Static4D;
33 33

  
34
import org.distorted.objectlib.helpers.ObjectSurfaceView;
35 34
import org.distorted.objectlib.main.ObjectControl;
36 35
import org.distorted.objectlib.main.ObjectPreRender;
37 36

  
......
39 38

  
40 39
///////////////////////////////////////////////////////////////////////////////////////////////////
41 40

  
42
public class RubikSurfaceView extends GLSurfaceView implements ObjectSurfaceView
41
public class RubikSurfaceView extends GLSurfaceView
43 42
{
44 43
    private ObjectControl mObjectController;
45 44
    private RubikRenderer mRenderer;
......
87 86
        {
88 87
        RubikActivity act = (RubikActivity)context;
89 88
        mRenderer = new RubikRenderer(this);
90
        mObjectController = new ObjectControl(act,this,new RubikObjectStateActioner());
89
        mObjectController = new ObjectControl(act,new RubikObjectStateActioner());
91 90

  
92 91
        final ActivityManager activityManager= (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);
93 92

  

Also available in: Unified diff