Please, im totally new with GWT and Those Gwt-modules… Heres all the information i have , please help! Im reading more tutorials and googling but im not getting what i should do… Should i make a module for each class?
[ERROR] [com.me.mygdxgame.GwtDefinition] - Errors in 'file:/D:/ArcherProjectLEGACY/my-gdx-game/src/com/me/mygdxgame/MyGdxGame.java'
[ERROR] [com.me.mygdxgame.GwtDefinition] - Line 24: No source code is available for type br.views.MenuView; did you forget to inherit a required module?
[ERROR] [com.me.mygdxgame.GwtDefinition] - Line 26: No source code is available for type br.data.SaveData; did you forget to inherit a required module?
Hi guys, the libgdx game loads but then it gives me that error… It shows libgdx loading bar but then that happens.
The my-gdx-game project have this xml :
<?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>
<source path="com/me/mygdxgame" />
</module>
The Gwt/HTML project have this xml :
<?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>
<inherits name='com.badlogic.gdx.backends.gdx_backends_gwt' />
<inherits name='MyGdxGame' />
<entry-point class='com.me.mygdxgame.client.GwtLauncher' />
<set-configuration-property name="gdx.assetpath" value="../my-gdx-game-android/assets" />
</module>
The main Class is this :
package com.me.mygdxgame;
import br.views.MenuView;
import com.badlogic.gdx.ApplicationListener;
import com.badlogic.gdx.Game;
import com.badlogic.gdx.Screen;
public class MyGdxGame extends Game implements ApplicationListener,Screen {
@Override
public void create() {
//GraphicAvailability.hasGl2Avaiable();
setScreen(new MenuView());
//SaveData sd = new SaveData();
//sd.saveDebugData();
}
@Override
public void dispose() {
super.dispose();
}
@Override
public void render() {
super.render();
}
@Override
public void resize(int width, int height) {
super.resize(width, height);
}
@Override
public void pause() {
super.pause();
}
@Override
public void resume() {
super.resume();
}
@Override
public void render(float delta) {
}
@Override
public void show() {
}
@Override
public void hide() {
}
}