diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-08-08 17:35:29 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-08-08 17:35:29 +0200 |
commit | 9a2bec1e5bbd7095f8de1c7c1357c6faeecbb454 (patch) | |
tree | d7568830019b78357ecc7be36318c5376537d9b3 /html/src/ch/asynk/rustanddust | |
parent | 4d97565d96d973c067df4fe207e6a89cc733171a (diff) | |
download | RustAndDust-9a2bec1e5bbd7095f8de1c7c1357c6faeecbb454.zip RustAndDust-9a2bec1e5bbd7095f8de1c7c1357c6faeecbb454.tar.gz |
rename tankontank directories into rustanddust
Diffstat (limited to 'html/src/ch/asynk/rustanddust')
3 files changed, 45 insertions, 0 deletions
diff --git a/html/src/ch/asynk/rustanddust/GdxDefinition.gwt.xml b/html/src/ch/asynk/rustanddust/GdxDefinition.gwt.xml new file mode 100644 index 0000000..08f74c0 --- /dev/null +++ b/html/src/ch/asynk/rustanddust/GdxDefinition.gwt.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit trunk//EN" "http://google-web-toolkit.googlecode.com/svn/trunk/distro-source/core/src/gwt-module.dtd">
+<module rename-to="html">
+ <inherits name='com.badlogic.gdx.backends.gdx_backends_gwt' /> + <inherits name='com.badlogic.gdx.physics.box2d.box2d-gwt' /> +
+ <inherits name='RustAndDust' />
+ <entry-point class='ch.asynk.rustanddust.client.HtmlLauncher' />
+
+ <set-configuration-property name="gdx.assetpath" value="../android/assets" />
+</module>
diff --git a/html/src/ch/asynk/rustanddust/GdxDefinitionSuperdev.gwt.xml b/html/src/ch/asynk/rustanddust/GdxDefinitionSuperdev.gwt.xml new file mode 100644 index 0000000..1a592f2 --- /dev/null +++ b/html/src/ch/asynk/rustanddust/GdxDefinitionSuperdev.gwt.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit trunk//EN" "http://google-web-toolkit.googlecode.com/svn/trunk/distro-source/core/src/gwt-module.dtd">
+<module rename-to="html">
+ <inherits name='com.badlogic.gdx.backends.gdx_backends_gwt' /> + <inherits name='com.badlogic.gdx.physics.box2d.box2d-gwt' /> +
+ <inherits name='RustAndDust' />
+ <entry-point class='ch.asynk.rustanddust.client.HtmlLauncher' />
+
+ <add-linker name="xsiframe"/>
+ <set-configuration-property name='xsiframe.failIfScriptTag' value='FALSE'/>
+ <set-configuration-property name="devModeRedirectEnabled" value="true"/>
+
+ <set-configuration-property name="gdx.assetpath" value="../android/assets" />
+</module>
diff --git a/html/src/ch/asynk/rustanddust/client/HtmlLauncher.java b/html/src/ch/asynk/rustanddust/client/HtmlLauncher.java new file mode 100644 index 0000000..a0e7ea0 --- /dev/null +++ b/html/src/ch/asynk/rustanddust/client/HtmlLauncher.java @@ -0,0 +1,19 @@ +package ch.asynk.rustanddust.client;
+
+import com.badlogic.gdx.ApplicationListener;
+import com.badlogic.gdx.backends.gwt.GwtApplication;
+import com.badlogic.gdx.backends.gwt.GwtApplicationConfiguration;
+import ch.asynk.rustanddust.RustAndDust;
+
+public class HtmlLauncher extends GwtApplication {
+
+ @Override
+ public GwtApplicationConfiguration getConfig () {
+ return new GwtApplicationConfiguration(480, 320);
+ }
+
+ @Override
+ public ApplicationListener getApplicationListener () {
+ return new RustAndDust();
+ }
+}
\ No newline at end of file |