summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-rw-r--r--core/src/ch/asynk/tankontank/engine/Map.java7
-rw-r--r--core/src/ch/asynk/tankontank/engine/gfx/Node.java7
2 files changed, 5 insertions, 9 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/Map.java b/core/src/ch/asynk/tankontank/engine/Map.java
index 8c47ed1..8e5fcbf 100644
--- a/core/src/ch/asynk/tankontank/engine/Map.java
+++ b/core/src/ch/asynk/tankontank/engine/Map.java
@@ -3,11 +3,14 @@ package ch.asynk.tankontank.engine;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.math.Vector3;
import com.badlogic.gdx.math.GridPoint2;
+import com.badlogic.gdx.utils.Disposable;
-import ch.asynk.tankontank.engine.gfx.Node;
+import ch.asynk.tankontank.engine.gfx.Drawable;
-public interface Map extends Node
+public interface Map extends Drawable, Disposable
{
+ public void animate(float delta);
+
public GridPoint2 getHexAt(GridPoint2 hex, float x, float y);
public Pawn getTopPawnAt(GridPoint2 hex);
diff --git a/core/src/ch/asynk/tankontank/engine/gfx/Node.java b/core/src/ch/asynk/tankontank/engine/gfx/Node.java
deleted file mode 100644
index 7b7c916..0000000
--- a/core/src/ch/asynk/tankontank/engine/gfx/Node.java
+++ /dev/null
@@ -1,7 +0,0 @@
-package ch.asynk.tankontank.engine.gfx;
-
-import com.badlogic.gdx.utils.Disposable;
-
-public interface Node extends Drawable, Disposable
-{
-}