mirror of
https://github.com/jwinterm/LightWallet2.git
synced 2026-11-17 09:23:56 +01:00
First commit.
This commit is contained in:
@@ -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='LightWallet' />
|
||||
<entry-point class='com.jw.lightwallet.client.HtmlLauncher' />
|
||||
|
||||
<set-configuration-property name="gdx.assetpath" value="../android/assets" />
|
||||
</module>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?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='com.jw.lightwallet.GdxDefinition' />
|
||||
|
||||
<collapse-all-properties />
|
||||
|
||||
<add-linker name="xsiframe"/>
|
||||
<set-configuration-property name="devModeRedirectEnabled" value="true"/>
|
||||
<set-configuration-property name='xsiframe.failIfScriptTag' value='FALSE'/>
|
||||
</module>
|
||||
@@ -0,0 +1,19 @@
|
||||
package com.jw.lightwallet.client;
|
||||
|
||||
import com.badlogic.gdx.ApplicationListener;
|
||||
import com.badlogic.gdx.backends.gwt.GwtApplication;
|
||||
import com.badlogic.gdx.backends.gwt.GwtApplicationConfiguration;
|
||||
import com.jw.lightwallet.LightWallet;
|
||||
|
||||
public class HtmlLauncher extends GwtApplication {
|
||||
|
||||
@Override
|
||||
public GwtApplicationConfiguration getConfig () {
|
||||
return new GwtApplicationConfiguration(480, 320);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ApplicationListener getApplicationListener () {
|
||||
return new LightWallet();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user