summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-01-27 22:24:30 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-01-27 22:24:30 +0100
commitbab2b2f6d21d41e446342683d4351575b37d3f14 (patch)
tree85a19970cac2e1d0190bdefc8f06532a09fc60c9 /core/src/ch
parente8551d54bef7a48297ab9e4bc5df77446d930cfb (diff)
downloadRustAndDust-bab2b2f6d21d41e446342683d4351575b37d3f14.zip
RustAndDust-bab2b2f6d21d41e446342683d4351575b37d3f14.tar.gz
add Backend, DesktopBackend, AndroidBackend
Diffstat (limited to 'core/src/ch')
-rw-r--r--core/src/ch/asynk/rustanddust/Backend.java5
-rw-r--r--core/src/ch/asynk/rustanddust/RustAndDust.java6
2 files changed, 11 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/Backend.java b/core/src/ch/asynk/rustanddust/Backend.java
new file mode 100644
index 0000000..357304f
--- /dev/null
+++ b/core/src/ch/asynk/rustanddust/Backend.java
@@ -0,0 +1,5 @@
+package ch.asynk.rustanddust;
+
+public interface Backend
+{
+}
diff --git a/core/src/ch/asynk/rustanddust/RustAndDust.java b/core/src/ch/asynk/rustanddust/RustAndDust.java
index 9334123..146b982 100644
--- a/core/src/ch/asynk/rustanddust/RustAndDust.java
+++ b/core/src/ch/asynk/rustanddust/RustAndDust.java
@@ -61,6 +61,7 @@ public class RustAndDust extends Game
public Ctrl ctrl;
public Config config;
public int hudCorrection;
+ public Backend backend;
public TextureAtlas uiAtlas;
public BitmapFont font;
@@ -74,6 +75,11 @@ public class RustAndDust extends Game
}
private State state;
+ public RustAndDust(Backend backend)
+ {
+ this.backend = backend;
+ }
+
public static void debug(String msg)
{
Gdx.app.debug(DOM, msg);