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

Examples of com.google.gwt.maeglin89273.game.ashinyballonthecross.client.core.levelequipment.LevelEquipment


 
  public static class SimpleStaticLineBuilder extends LineBuilder{

    @Override
    public void buildLinePoint p1, Point p2) {
      new SimpleStaticLine(p1,p2);
     
    }
View Full Code Here


  }
  public static class WoodLineBuilder extends LineBuilder{

    @Override
    public void buildLinePoint p1, Point p2) {
      new WoodLine(p1,p2);
     
    }
View Full Code Here

  /* (non-Javadoc)
   * @see com.google.gwt.maeglin89273.game.ashinyballonthecross.client.core.dot.BombDot#spoutShape()
   */
  @Override
  protected PhysicalShape generateShape(Point position, double angle) {
    return new Circle(this.controller,position,10, this.dotColor);
  }
View Full Code Here

  /* (non-Javadoc)
   * @see com.google.gwt.maeglin89273.game.ashinyballonthecross.client.core.dot.BombDot#generateShape(com.google.gwt.maeglin89273.game.mengine.physics.Point, double)
   */
  @Override
  protected PhysicalShape generateShape(Point position, double angle) {
    return new Rectangle(this.controller, position , angle, 5+Random.nextInt(16), 5+Random.nextInt(16), this.dotColor);
  }
View Full Code Here

 
  public static class ShinyBallBuilder implements LevelBuilder{

    @Override
    public void build(JSONObject creation) {
      new ShinyBall( new Point(creation.get(X).isNumber().doubleValue(),
                        creation.get(Y).isNumber().doubleValue()));
     
    }
View Full Code Here

                                      creator.getMaxPower(),
                                      ((ASBOTXGame)getGame()).getLocalPlayer().getScoreAt(level),
                                      level.getRequiredScore());
                                     
           
    creatorPanel=new CreatorPanel(creator,getGameWidth(), getGameHeight());
       
    //add listeners
    creator.addPropertiesChangeListener(creatorPropertiesBar);
    creatorPanel.addDefiningListener(creatorPropertiesBar);
   
View Full Code Here

                                      creator.getMaxPower(),
                                      ((ASBOTXGame)getGame()).getLocalPlayer().getScoreAt(level),
                                      level.getRequiredScore());
                                     
           
    creatorPanel=new CreatorPanel(creator,getGameWidth(), getGameHeight());
       
    //add listeners
    creator.addPropertiesChangeListener(creatorPropertiesBar);
    creatorPanel.addDefiningListener(creatorPropertiesBar);
    //initialize layers
View Full Code Here

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

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

    MEngine.addKeyDownHandler(this);
    MEngine.addMouseMoveHandler(this);
  }
  private boolean checkIsUserANewPlayer(CheckLoginResponse result){
    if(result.getStatus()==CheckLoginResponse.Status.NEW_PLAYER){
      root.insertLayer(0, new ComponentLayer(new Glass(game.getWidth(),game.getHeight())));
      root.insertLayer(0,new ComponentLayer(getBoard()));
      game.getLocalPlayer().setID(null);
      blocked=true;
      return true;
    }
View Full Code Here

TOP

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

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.