summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/engine
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-09-21 04:15:14 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-09-21 04:15:14 +0200
commit0babc3fa6b5fefb7fe5920c5116afb60266d1b08 (patch)
tree98f1c793b40464515750917f88da1abfb5c6e63a /core/src/ch/asynk/tankontank/engine
parent6b80b4f99bcea04c926a46c58f53d1311d99733e (diff)
downloadRustAndDust-0babc3fa6b5fefb7fe5920c5116afb60266d1b08.zip
RustAndDust-0babc3fa6b5fefb7fe5920c5116afb60266d1b08.tar.gz
Node is dead
Diffstat (limited to 'core/src/ch/asynk/tankontank/engine')
-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
-{
-}