Example usage for com.google.gwt.maeglin89273.game.mengine.component GameLabel GameLabel

List of usage examples for com.google.gwt.maeglin89273.game.mengine.component GameLabel GameLabel

Introduction

In this page you can find the example usage for com.google.gwt.maeglin89273.game.mengine.component GameLabel GameLabel.

Prototype

public GameLabel(Point p, TextAlign align, TextBaseline baseline, String text, CssColor textColor,
            String font) 

Source Link

Usage

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"));
}