From 1ecd8d1d527b6b66b4746e44023b6ab3cb2ca4cc Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Tue, 21 Jan 2025 03:17:15 +0500 Subject: feat: using other serializer and gdx-websocket (because the old one doesn't support gwt) --- .../kz/ilotterytea/frogartha/GdxDefinition.gwt.xml | 60 ++++++++++++---------- .../kz/ilotterytea/frogartha/gwt/GwtLauncher.java | 2 + 2 files changed, 34 insertions(+), 28 deletions(-) (limited to 'html/src') diff --git a/html/src/main/java/kz/ilotterytea/frogartha/GdxDefinition.gwt.xml b/html/src/main/java/kz/ilotterytea/frogartha/GdxDefinition.gwt.xml index 3f287d1..266f4a8 100644 --- a/html/src/main/java/kz/ilotterytea/frogartha/GdxDefinition.gwt.xml +++ b/html/src/main/java/kz/ilotterytea/frogartha/GdxDefinition.gwt.xml @@ -1,35 +1,39 @@ - + - - + + - - - - - + + + + + + + + - - + + - - - - + + + + - - - - - - + + + + + + - - - - - - - - \ 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 index a4e7ea3..bafa596 100644 --- a/html/src/main/java/kz/ilotterytea/frogartha/gwt/GwtLauncher.java +++ b/html/src/main/java/kz/ilotterytea/frogartha/gwt/GwtLauncher.java @@ -3,6 +3,7 @@ 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 com.github.czyzby.websocket.GwtWebSockets; import kz.ilotterytea.frogartha.FrogarthaGame; /** @@ -23,6 +24,7 @@ public class GwtLauncher extends GwtApplication { @Override public ApplicationListener createApplicationListener() { + GwtWebSockets.initiate(); return FrogarthaGame.getInstance(); } } -- cgit v1.2.3