List of usage examples for com.google.gwt.maeglin89273.game.mengine.component GameLabel GameLabel
public GameLabel(Point p, TextAlign align, TextBaseline baseline, String text, CssColor textColor,
String font)
From source file:com.google.gwt.maeglin89273.game.ashinyballonthecross.client.tutorial.component.StepBoard.java
public StepBoard(Point leftTopCorner, double centerX) { super(leftTopCorner, 200, 420); this.titleLabel = new GameLabel(new Point(centerX, 30), TextAlign.CENTER, TextBaseline.MIDDLE, null, ASBOTXConfigs.Color.GRAY, ASBOTXConfigs.getCGFont(32)); this.block = new SpriteBlock(0, 0, 200, 420, MEngine.getAssetManager().getSpriteSheet("images/tutorial_steps.png")); }