Example usage for com.badlogic.gdx.backends.gwt GwtApplicationConfiguration GwtApplicationConfiguration

List of usage examples for com.badlogic.gdx.backends.gwt GwtApplicationConfiguration GwtApplicationConfiguration

Introduction

In this page you can find the example usage for com.badlogic.gdx.backends.gwt GwtApplicationConfiguration GwtApplicationConfiguration.

Prototype

public GwtApplicationConfiguration(int width, int height) 

Source Link

Usage

From source file:at.juggle.games.counting.client.HtmlLauncher.java

License:Apache License

@Override
public GwtApplicationConfiguration getConfig() {
    return new GwtApplicationConfiguration(480, 320);
}

From source file:com.bossletsplays.rr.client.HtmlLauncher.java

License:Apache License

@Override
public GwtApplicationConfiguration getConfig() {
    return new GwtApplicationConfiguration(Reference.WIDTH, Reference.HEIGHT);
}

From source file:com.dgzt.html.ButtonFootballGameHtml.java

License:Open Source License

/**
 * The html configuration./*from w  w  w.  j a va 2 s.c  o m*/
 */
@Override
public GwtApplicationConfiguration getConfig() {
    GwtApplicationConfiguration conf = new GwtApplicationConfiguration(WIDTH, HEIGHT);

    Element element = Document.get().getElementById("embed-html");
    VerticalPanel panel = new VerticalPanel();
    panel.setWidth("100%");
    panel.setHeight("100%");
    panel.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);
    panel.setVerticalAlignment(HasVerticalAlignment.ALIGN_MIDDLE);
    element.appendChild(panel.getElement());
    conf.rootPanel = panel;

    return conf;
}

From source file:com.flaiker.reaktio.client.HtmlLauncher.java

License:Open Source License

@Override
public GwtApplicationConfiguration getConfig() {
    return new GwtApplicationConfiguration(360, 600);
}

From source file:com.github.mkjensen.breakall.client.HtmlLauncher.java

License:Apache License

@Override
public GwtApplicationConfiguration getConfig() {
    return new GwtApplicationConfiguration(800, 800);
}

From source file:com.gmail.bleedobsidian.logicbuilder.client.HtmlLauncher.java

License:Open Source License

@Override
public GwtApplicationConfiguration getConfig() {
    return new GwtApplicationConfiguration(1300, 720);
}

From source file:com.haxtastic.haxmasher.client.HtmlLauncher.java

License:Apache License

@Override
public GwtApplicationConfiguration getConfig() {
    return new GwtApplicationConfiguration(1024, 576);
}

From source file:com.maplescot.loggerbill.client.HtmlLauncher.java

License:Creative Commons License

@Override
public GwtApplicationConfiguration getConfig() {
    return new GwtApplicationConfiguration(540, 960);
}

From source file:com.sturdyhelmetgames.roomforchange.client.GwtLauncher.java

License:Apache License

@Override
public GwtApplicationConfiguration getConfig() {
    GwtApplicationConfiguration cfg = new GwtApplicationConfiguration(960, 640);
    return cfg;
}

From source file:es.eucm.ead.engine.html.EAdEngineHtml.java

License:Open Source License

@Override
public GwtApplicationConfiguration getConfig() {
    GwtApplicationConfiguration config = new GwtApplicationConfiguration(800, 600);
    return config;
}