本文整理匯總了Java中com.badlogic.gdx.backends.gwt.GwtApplicationConfiguration類的典型用法代碼示例。如果您正苦於以下問題:Java GwtApplicationConfiguration類的具體用法?Java GwtApplicationConfiguration怎麽用?Java GwtApplicationConfiguration使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
GwtApplicationConfiguration類屬於com.badlogic.gdx.backends.gwt包,在下文中一共展示了GwtApplicationConfiguration類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: getConfig
import com.badlogic.gdx.backends.gwt.GwtApplicationConfiguration; //導入依賴的package包/類
@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;
}
示例2: getConfig
import com.badlogic.gdx.backends.gwt.GwtApplicationConfiguration; //導入依賴的package包/類
@Override
public GwtApplicationConfiguration getConfig () {
//GwtApplicationConfiguration config = new GwtApplicationConfiguration(384, 640);
// GwtApplicationConfiguration config = new GwtApplicationConfiguration(480, 800);
GwtApplicationConfiguration config = new GwtApplicationConfiguration(420, 700);
return config;
}
示例3: getConfig
import com.badlogic.gdx.backends.gwt.GwtApplicationConfiguration; //導入依賴的package包/類
@Override
public GwtApplicationConfiguration getConfig () {
GwtApplicationConfiguration config = new GwtApplicationConfiguration(1280, 720);
return config;
}
示例4: getConfig
import com.badlogic.gdx.backends.gwt.GwtApplicationConfiguration; //導入依賴的package包/類
@Override
public GwtApplicationConfiguration getConfig () {
return new GwtApplicationConfiguration(480, 320);
}
示例5: getConfig
import com.badlogic.gdx.backends.gwt.GwtApplicationConfiguration; //導入依賴的package包/類
@Override
public GwtApplicationConfiguration getConfig() {
GwtApplicationConfiguration configuration = new GwtApplicationConfiguration(G.SCREEN_WIDTH, G.SCREEN_HEIGHT);
return configuration;
}
示例6: getConfig
import com.badlogic.gdx.backends.gwt.GwtApplicationConfiguration; //導入依賴的package包/類
@Override
public GwtApplicationConfiguration getConfig () {
return new GwtApplicationConfiguration(480, 800);
}
示例7: getConfig
import com.badlogic.gdx.backends.gwt.GwtApplicationConfiguration; //導入依賴的package包/類
@Override
public GwtApplicationConfiguration getConfig() {
return new GwtApplicationConfiguration(ProjectTD.V_WIDTH, ProjectTD.V_HEIGHT);
}
示例8: getConfig
import com.badlogic.gdx.backends.gwt.GwtApplicationConfiguration; //導入依賴的package包/類
@Override
public GwtApplicationConfiguration getConfig () {
return new GwtApplicationConfiguration(Klooni.GAME_WIDTH, Klooni.GAME_HEIGHT);
}
示例9: getConfig
import com.badlogic.gdx.backends.gwt.GwtApplicationConfiguration; //導入依賴的package包/類
@Override
public GwtApplicationConfiguration getConfig () {
GwtApplicationConfiguration cfg = new GwtApplicationConfiguration(480, 320);
return cfg;
}
示例10: getConfig
import com.badlogic.gdx.backends.gwt.GwtApplicationConfiguration; //導入依賴的package包/類
@Override
public GwtApplicationConfiguration getConfig () {
return new GwtApplicationConfiguration(MainGameClass.WIDTH, MainGameClass.HEIGHT);
}
示例11: getConfig
import com.badlogic.gdx.backends.gwt.GwtApplicationConfiguration; //導入依賴的package包/類
@Override
public GwtApplicationConfiguration getConfig () {
int scale = 2;
return new GwtApplicationConfiguration(Configuration.WINDOW_WIDTH * scale, Configuration.WINDOW_HEIGHT * scale);
}
示例12: getConfig
import com.badlogic.gdx.backends.gwt.GwtApplicationConfiguration; //導入依賴的package包/類
@Override
public GwtApplicationConfiguration getConfig () {
return new GwtApplicationConfiguration(400, 640);
}
示例13: getConfig
import com.badlogic.gdx.backends.gwt.GwtApplicationConfiguration; //導入依賴的package包/類
@Override
public GwtApplicationConfiguration getConfig() {
GwtApplicationConfiguration configuration = new GwtApplicationConfiguration(800, 450);
return configuration;
}
示例14: getConfig
import com.badlogic.gdx.backends.gwt.GwtApplicationConfiguration; //導入依賴的package包/類
@Override
public GwtApplicationConfiguration getConfig () {
return new GwtApplicationConfiguration(MellowGame.SCREEN_WIDTH, MellowGame.SCREEN_HEIGHT);
}
示例15: getConfig
import com.badlogic.gdx.backends.gwt.GwtApplicationConfiguration; //導入依賴的package包/類
@Override
public GwtApplicationConfiguration getConfig () {
return new GwtApplicationConfiguration(480, 320);
}