From 043834fa0adf502f61ba09fe312fa3e90b8a6bcc Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Mon, 20 Jan 2025 19:29:50 +0500 Subject: initial commit --- .../kz/ilotterytea/frogartha/GdxDefinition.gwt.xml | 35 ++++++++++++++++++++++ .../frogartha/GdxDefinitionSuperdev.gwt.xml | 9 ++++++ .../kz/ilotterytea/frogartha/gwt/GwtLauncher.java | 28 +++++++++++++++++ 3 files changed, 72 insertions(+) create mode 100644 html/src/main/java/kz/ilotterytea/frogartha/GdxDefinition.gwt.xml create mode 100644 html/src/main/java/kz/ilotterytea/frogartha/GdxDefinitionSuperdev.gwt.xml create mode 100644 html/src/main/java/kz/ilotterytea/frogartha/gwt/GwtLauncher.java (limited to 'html/src/main') diff --git a/html/src/main/java/kz/ilotterytea/frogartha/GdxDefinition.gwt.xml b/html/src/main/java/kz/ilotterytea/frogartha/GdxDefinition.gwt.xml new file mode 100644 index 0000000..3f287d1 --- /dev/null +++ b/html/src/main/java/kz/ilotterytea/frogartha/GdxDefinition.gwt.xml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/html/src/main/java/kz/ilotterytea/frogartha/GdxDefinitionSuperdev.gwt.xml b/html/src/main/java/kz/ilotterytea/frogartha/GdxDefinitionSuperdev.gwt.xml new file mode 100644 index 0000000..86d6eac --- /dev/null +++ b/html/src/main/java/kz/ilotterytea/frogartha/GdxDefinitionSuperdev.gwt.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/html/src/main/java/kz/ilotterytea/frogartha/gwt/GwtLauncher.java b/html/src/main/java/kz/ilotterytea/frogartha/gwt/GwtLauncher.java new file mode 100644 index 0000000..a4e7ea3 --- /dev/null +++ b/html/src/main/java/kz/ilotterytea/frogartha/gwt/GwtLauncher.java @@ -0,0 +1,28 @@ +package kz.ilotterytea.frogartha.gwt; + +import com.badlogic.gdx.ApplicationListener; +import com.badlogic.gdx.backends.gwt.GwtApplication; +import com.badlogic.gdx.backends.gwt.GwtApplicationConfiguration; +import kz.ilotterytea.frogartha.FrogarthaGame; + +/** + * Launches the GWT application. + */ +public class GwtLauncher extends GwtApplication { + @Override + public GwtApplicationConfiguration getConfig() { + // Resizable application, uses available space in browser with no padding: + GwtApplicationConfiguration cfg = new GwtApplicationConfiguration(true); + cfg.padVertical = 0; + cfg.padHorizontal = 0; + return cfg; + // If you want a fixed size application, comment out the above resizable section, + // and uncomment below: + //return new GwtApplicationConfiguration(640, 480); + } + + @Override + public ApplicationListener createApplicationListener() { + return FrogarthaGame.getInstance(); + } +} -- cgit v1.2.3