Examples of SpriteBlock


Examples of com.google.gwt.maeglin89273.game.mengine.asset.sprite.SpriteBlock

   
  }
  private class InformationButton extends CircleButton{

    public InformationButton(Point p) {
      super(p, 50,new SpriteBlock(4*(200+SpriteBlock.SPACING),200+SpriteBlock.SPACING,
          200,200,ASBOTXConfigs.Utility.getButtonsSpriteSheet()));
    }
 
View Full Code Here

Examples of com.google.gwt.maeglin89273.game.mengine.asset.sprite.SpriteBlock

  }
  private class HintButton extends BoxButton{
    private static final int HINT_WIDTH=560;
    private static final int HINT_HEIGHT=420;
    public HintButton(Point p) {
      super(p, 100, 50, new SpriteBlock(ASBOTXConfigs.Utility.buttonSpacingTimes(4),
          ASBOTXConfigs.Utility.buttonSpacingTimes(3),
          200,100,ASBOTXConfigs.Utility.getButtonsSpriteSheet()));
    }
View Full Code Here

Examples of com.google.gwt.maeglin89273.game.mengine.asset.sprite.SpriteBlock

     
    }
    private class ReplayButton extends CircleButton{

      public ReplayButton(Point p, int d) {
        super(p, d/2, new SpriteBlock(2*(200+SpriteBlock.SPACING),3*(200+SpriteBlock.SPACING),200,200,
            ASBOTXConfigs.Utility.getButtonsSpriteSheet()));
       
      }
 
View Full Code Here

Examples of com.google.gwt.maeglin89273.game.mengine.asset.sprite.SpriteBlock

 
  private final double screenHeight;
  public TasksList(double centerX,double screenHeight) {
    super(new Point(centerX,0), WIDTH, 0);
    this.screenHeight = screenHeight;
    block=new SpriteBlock(0,0,255,0,MEngine.getAssetManager().getSpriteSheet("images/tutorial_tasks.png"));
  }
View Full Code Here

Examples of com.google.gwt.maeglin89273.game.mengine.asset.sprite.SpriteBlock

  private class CheckBox extends GeneralComponent {
    private SpriteBlock block;
    private boolean checked=false;
    protected CheckBox(Point p) {
      super(p, 22.5, 20);
      block=new SpriteBlock(3*(200+SpriteBlock.SPACING),0,45,40, ASBOTXConfigs.Utility.getButtonsSpriteSheet());
    }
View Full Code Here

Examples of com.google.gwt.maeglin89273.game.mengine.asset.sprite.SpriteBlock

     * @param h
     * @param block
     */
    private LevelSelectButton(Point p,double bounds,WorldType world,int level,boolean unlocked) {
      super(p,(int)bounds,(int)bounds,
          (unlocked?new SpriteBlock(200+SpriteBlock.SPACING,200+SpriteBlock.SPACING,200,200,ASBOTXConfigs.Utility.getButtonsSpriteSheet()):
              new SpriteBlock(2*(200+SpriteBlock.SPACING),200+SpriteBlock.SPACING,200,200,ASBOTXConfigs.Utility.getButtonsSpriteSheet())));
      this.unlocked=unlocked;
      this.world = world;
      this.levelNum = level;
      this.numberFont=ASBOTXConfigs.getCGFont((int)(bounds/4));
     
View Full Code Here

Examples of com.google.gwt.maeglin89273.game.mengine.asset.sprite.SpriteBlock

    private boolean next=true;
    private boolean moving=false;
    private int count=0;
    private double vY;
    public GuideButton(double y) {
      super(new Point(getGameWidth()-30,y), 25,new SpriteBlock(4*(200+SpriteBlock.SPACING),2*(200+SpriteBlock.SPACING),200,200, ASBOTXConfigs.Utility.getButtonsSpriteSheet()));
     
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.