@Override public GwtApplicationConfiguration getConfig() { GwtApplicationConfiguration config = 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()); config.rootPanel = panel; config.width = 2000; config.height = 2000; return config; }
@Override public GwtApplicationConfiguration getConfig () { //GwtApplicationConfiguration config = new GwtApplicationConfiguration(384, 640); // GwtApplicationConfiguration config = new GwtApplicationConfiguration(480, 800); GwtApplicationConfiguration config = new GwtApplicationConfiguration(420, 700); return config; }
@Override public GwtApplicationConfiguration getConfig () { GwtApplicationConfiguration config = new GwtApplicationConfiguration(1280, 720); return config; }
@Override public GwtApplicationConfiguration getConfig () { return new GwtApplicationConfiguration(480, 320); }
@Override public GwtApplicationConfiguration getConfig() { GwtApplicationConfiguration configuration = new GwtApplicationConfiguration(G.SCREEN_WIDTH, G.SCREEN_HEIGHT); return configuration; }
@Override public GwtApplicationConfiguration getConfig () { return new GwtApplicationConfiguration(480, 800); }
@Override public GwtApplicationConfiguration getConfig() { return new GwtApplicationConfiguration(ProjectTD.V_WIDTH, ProjectTD.V_HEIGHT); }
@Override public GwtApplicationConfiguration getConfig () { return new GwtApplicationConfiguration(Klooni.GAME_WIDTH, Klooni.GAME_HEIGHT); }
@Override public GwtApplicationConfiguration getConfig () { GwtApplicationConfiguration cfg = new GwtApplicationConfiguration(480, 320); return cfg; }
@Override public GwtApplicationConfiguration getConfig () { return new GwtApplicationConfiguration(MainGameClass.WIDTH, MainGameClass.HEIGHT); }
@Override public GwtApplicationConfiguration getConfig () { int scale = 2; return new GwtApplicationConfiguration(Configuration.WINDOW_WIDTH * scale, Configuration.WINDOW_HEIGHT * scale); }
@Override public GwtApplicationConfiguration getConfig () { return new GwtApplicationConfiguration(400, 640); }
@Override public GwtApplicationConfiguration getConfig() { GwtApplicationConfiguration configuration = new GwtApplicationConfiguration(800, 450); return configuration; }
@Override public GwtApplicationConfiguration getConfig () { return new GwtApplicationConfiguration(MellowGame.SCREEN_WIDTH, MellowGame.SCREEN_HEIGHT); }
@Override public GwtApplicationConfiguration getConfig() { return new GwtApplicationConfiguration(480, 800); }
@Override public GwtApplicationConfiguration getConfig () { return new GwtApplicationConfiguration(1024, 768); }
@Override public GwtApplicationConfiguration getConfig () { return new GwtApplicationConfiguration(Configs.GAME_WIDTH, Configs.GAME_HEIGHT); }