diff --git a/android/src/com/relurori/breakout/MainPanel.java b/android/src/com/relurori/breakout/MainPanel.java index 5897759..9e81320 100644 --- a/android/src/com/relurori/breakout/MainPanel.java +++ b/android/src/com/relurori/breakout/MainPanel.java @@ -20,6 +20,7 @@ import com.relurori.engine.graphics.shapes.meta.Collision; import com.relurori.engine.graphics.shapes.meta.Intersection; import com.relurori.engine.io.Joystick; +import com.relurori.engine.main.Gameboard; import com.relurori.engine.main.MainThread; import com.relurori.engine.network.NetworkThread; @@ -43,7 +44,7 @@ import android.view.SurfaceView; import android.view.View; -public class MainPanel extends SurfaceView implements SurfaceHolder.Callback { +public class MainPanel extends SurfaceView implements SurfaceHolder.Callback, Gameboard { private static final String TAG = MainPanel.class.getSimpleName(); diff --git a/android/src/com/relurori/engine/main/Gameboard.java b/android/src/com/relurori/engine/main/Gameboard.java new file mode 100644 index 0000000..2a1ed24 --- /dev/null +++ b/android/src/com/relurori/engine/main/Gameboard.java @@ -0,0 +1,5 @@ +package com.relurori.engine.main; + +public interface Gameboard { + public void updatePhysics(); +}