Example usage for com.google.gwt.maeglin89273.game.mengine.asset.sprite SpriteBlock SPACING

List of usage examples for com.google.gwt.maeglin89273.game.mengine.asset.sprite SpriteBlock SPACING

Introduction

In this page you can find the example usage for com.google.gwt.maeglin89273.game.mengine.asset.sprite SpriteBlock SPACING.

Prototype

int SPACING

To view the source code for com.google.gwt.maeglin89273.game.mengine.asset.sprite SpriteBlock SPACING.

Click Source Link

Usage

From source file:com.google.gwt.maeglin89273.game.ashinyballonthecross.client.tutorial.component.BlueMark.java

public BlueMark() {
    super(new Point(0, 0), 0, 100, 100);
    int offset = 3 * (200 + SpriteBlock.SPACING);
    this.spriteBlock = new SpriteBlock(offset, offset, 200, 200, ASBOTXConfigs.Utility.getButtonsSpriteSheet());
}

From source file:com.google.gwt.maeglin89273.game.ashinyballonthecross.client.tutorial.component.NextStepButton.java

public NextStepButton(Point p, TutorialManager manager) {
    super(p, 50, new SpriteBlock(4 * (200 + SpriteBlock.SPACING), 2 * (200 + SpriteBlock.SPACING), 200, 200,
            ASBOTXConfigs.Utility.getButtonsSpriteSheet()));
    this.manager = manager;
}