Package com.google.gwt.maeglin89273.game.ashinyballonthecross.client.core

Examples of com.google.gwt.maeglin89273.game.ashinyballonthecross.client.core.DefinersFactory


        manager.getDetector().detect(6, null);
      }
     
    });
    //initialize UIs
    gravityIndicator=new GravityIndicator(creator.getWorld().getPosition(),250,creator.getGravityController());
       
    CreatorPropertiesBar creatorPropertiesBar=new CreatorPropertiesBar(getGameWidth(),
                                      getGameHeight(),
                                      creator.getMaxPower(),
                                      ((ASBOTXGame)getGame()).getLocalPlayer().getScoreAt(level),
View Full Code Here


        getGame().setPage(new ScoreShowingPage(rootLayer,level,score));
      }
     
    });
    //initialize UIs
    gravityIndicator=new GravityIndicator(creator.getWorld().getPosition(),250,creator.getGravityController());
       
    CreatorPropertiesBar creatorPropertiesBar=new CreatorPropertiesBar(getGameWidth(),
                                      getGameHeight(),
                                      creator.getMaxPower(),
                                      ((ASBOTXGame)getGame()).getLocalPlayer().getScoreAt(level),
View Full Code Here

   * @see com.google.gwt.maeglin89273.game.mengine.page.Page#onScreen()
   */
  @Override
  public void onScreen() {
   
    buttons[0]=new BackButton(new Point(55,getGameHeight()-60), 50);
    buttons[1]=new RefreshButton(new Point(getGameWidth()/2,getGameHeight()-60),50);
   
    table=new LeaderboardTable(new Point(getGameWidth()/2,getGameHeight()/2));
    progressLabel=new GameLabel(new Point(getGameWidth()/2,108), TextAlign.CENTER, TextBaseline.MIDDLE,
        "", ASBOTXConfigs.Color.BORDER_DARK_GRAY, ASBOTXConfigs.getCGFont(12));
View Full Code Here

  public CreatorPanel(Creator creator,double screenWidth,double screenHeight) {
    super(new Point(screenWidth*3/16,screenHeight-screenWidth*1/16), screenWidth*3/8, screenWidth*1/8);
    double halfH=getHeight()/2;
    double oneThirdW=getWidth()/3;
    this.creator=creator;
    this.keys[AREA_KEY_INDEX]=new AreaKey(new Point(getX()-oneThirdW,getTopY()+halfH),oneThirdW,getHeight(),creator.getLevel().getAreaDefinerKinds());
    this.keys[LINE_KEY_INDEX]=new LineKey(new Point(getX(),getTopY()+halfH),oneThirdW,getHeight(),creator.getLevel().getLineDefinerKinds());
    this.keys[DOT_KEY_INDEX]=new DotKey(new Point(getX()+oneThirdW,getTopY()+halfH),oneThirdW,getHeight(),creator.getLevel().getDotDefinerKinds());
 
  }
View Full Code Here

    double halfH=getHeight()/2;
    double oneThirdW=getWidth()/3;
    this.creator=creator;
    this.keys[AREA_KEY_INDEX]=new AreaKey(new Point(getX()-oneThirdW,getTopY()+halfH),oneThirdW,getHeight(),creator.getLevel().getAreaDefinerKinds());
    this.keys[LINE_KEY_INDEX]=new LineKey(new Point(getX(),getTopY()+halfH),oneThirdW,getHeight(),creator.getLevel().getLineDefinerKinds());
    this.keys[DOT_KEY_INDEX]=new DotKey(new Point(getX()+oneThirdW,getTopY()+halfH),oneThirdW,getHeight(),creator.getLevel().getDotDefinerKinds());
 
  }
View Full Code Here

    super(new Point(screenWidth*3/16,screenHeight-screenWidth*1/16), screenWidth*3/8, screenWidth*1/8);
    double halfH=getHeight()/2;
    double oneThirdW=getWidth()/3;
    this.creator=creator;
    this.keys[AREA_KEY_INDEX]=new AreaKey(new Point(getX()-oneThirdW,getTopY()+halfH),oneThirdW,getHeight(),creator.getLevel().getAreaDefinerKinds());
    this.keys[LINE_KEY_INDEX]=new LineKey(new Point(getX(),getTopY()+halfH),oneThirdW,getHeight(),creator.getLevel().getLineDefinerKinds());
    this.keys[DOT_KEY_INDEX]=new DotKey(new Point(getX()+oneThirdW,getTopY()+halfH),oneThirdW,getHeight(),creator.getLevel().getDotDefinerKinds());
 
  }
View Full Code Here

    }
   
    //init here
    manager=new TutorialManager(MEngine.getAssetManager().getJson("configs/tutorial_configs.json"),
        getGameWidth(),getGameHeight(),2,TASK_HANDLERS);
    this.level=new Level(MEngine.getAssetManager().getJson("levels/tutorial_level.json"),
     new Point(getGameWidth()/2.0,getGameHeight()/2.0));
    this.creator=new Creator(level);
   
    creator.build(new GameOverCallback(){
View Full Code Here

    super(new GameInfo(720,540,ASBOTXAssetsBundleWithLookup.INSTANCE));
  }
 
  @Override
  public void init() {
    setPage(new ASBOTXLoadingAssetsPage());
  }
View Full Code Here

  /* (non-Javadoc)
   * @see com.google.gwt.maeglin89273.game.mengine.component.button.GameButton#doTask()
   */
  @Override
  public void doTask() {
    MEngine.getGeneralGame().setPage(new WelcomePage());
  }
View Full Code Here

    super(p,r, new SpriteBlock(5*(200+SpriteBlock.SPACING),2*(200+SpriteBlock.SPACING),200,200, ASBOTXConfigs.Utility.getButtonsSpriteSheet()));
  }

  @Override
  public void doTask() {
    MEngine.getGeneralGame().setPage(new WorldSelectPage());
  }
View Full Code Here

TOP

Related Classes of com.google.gwt.maeglin89273.game.ashinyballonthecross.client.core.DefinersFactory

Copyright © 2018 www.massapicom. 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.