diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-27 22:24:30 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-27 22:24:30 +0100 |
commit | bab2b2f6d21d41e446342683d4351575b37d3f14 (patch) | |
tree | 85a19970cac2e1d0190bdefc8f06532a09fc60c9 /desktop | |
parent | e8551d54bef7a48297ab9e4bc5df77446d930cfb (diff) | |
download | RustAndDust-bab2b2f6d21d41e446342683d4351575b37d3f14.zip RustAndDust-bab2b2f6d21d41e446342683d4351575b37d3f14.tar.gz |
add Backend, DesktopBackend, AndroidBackend
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/src/ch/asynk/rustanddust/desktop/DesktopBackend.java | 10 | ||||
-rw-r--r-- | desktop/src/ch/asynk/rustanddust/desktop/DesktopLauncher.java | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/desktop/src/ch/asynk/rustanddust/desktop/DesktopBackend.java b/desktop/src/ch/asynk/rustanddust/desktop/DesktopBackend.java new file mode 100644 index 0000000..4b54056 --- /dev/null +++ b/desktop/src/ch/asynk/rustanddust/desktop/DesktopBackend.java @@ -0,0 +1,10 @@ +package ch.asynk.rustanddust.desktop; + +import ch.asynk.rustanddust.Backend; + +public class DesktopBackend implements Backend +{ + public DesktopBackend() + { + } +} diff --git a/desktop/src/ch/asynk/rustanddust/desktop/DesktopLauncher.java b/desktop/src/ch/asynk/rustanddust/desktop/DesktopLauncher.java index 439e4f1..c1ab457 100644 --- a/desktop/src/ch/asynk/rustanddust/desktop/DesktopLauncher.java +++ b/desktop/src/ch/asynk/rustanddust/desktop/DesktopLauncher.java @@ -13,6 +13,6 @@ public class DesktopLauncher { config.height = 768; // config.fullscreen = true; config.addIcon("data/icon.png", Files.FileType.Internal); - new LwjglApplication(new RustAndDust(), config); + new LwjglApplication(new RustAndDust(new DesktopBackend()), config); } } |