Examples of WelcomeButton


Examples of com.google.gwt.maeglin89273.game.ashinyballonthecross.client.core.ui.button.WelcomeButton

  /**
   *
   */
  public InformationPage() {
    this.roll=new InformationRoll(600,540);
    this.button=new WelcomeButton(new Point(25,25),50);
    this.background=new ImageLayer(MEngine.getAssetManager().getSpriteSheet("images/gray_bg.png"), getGameWidth(), getGameHeight());
    this.root=new GroupLayer();
  }
View Full Code Here

Examples of com.google.gwt.maeglin89273.game.ashinyballonthecross.client.core.ui.button.WelcomeButton

  /**
   *
   */
  public GuidePage() {
    buttons[0]=new GuideButton(getGameHeight()/2);
    buttons[1]=new WelcomeButton(new Point(25,25),50);
    mainLayer=new WorldLayer(new TutorialImage(),1);
    root=new GroupLayer();
    this.camera=mainLayer.getCamera();
  }
View Full Code Here

Examples of com.google.gwt.maeglin89273.game.ashinyballonthecross.client.core.ui.button.WelcomeButton

  /* (non-Javadoc)
   * @see com.google.gwt.maeglin89273.game.mengine.page.Page#onScreen()
   */
  @Override
  public void onScreen() {
    button=new WelcomeButton(new Point(25,25),50);
    menu=new WorldMenu(new Point(getGameWidth()/2,getGameHeight()/2),game.getLocalPlayer().getMenuIndex());
   
    root.addComponentOnLayer(button);
    root.addComponentOnLayer(menu);
    root.addLayer(new ImageLayer(MEngine.getAssetManager().getSpriteSheet("images/blue_bg.png"), 720, 540));
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.