Examples of BonusCrystalOrb


Examples of rtype.entity.BonusCrystalOrb

    {
      case IEntity.BONUS_BOOSTER : b=  new BonusBooster() ; break;
      case IEntity.BONUS_LIGHTNING_ORB : b=  new BonusLightningOrb() ; break;
      case IEntity.BONUS_GRAVITY_ORB : b=  new BonusMagneticOrb() ; break;
      case IEntity.BONUS_RAPID_SHOOT_ORB : b=  new BonusRapidShootOrb() ; break;
      case IEntity.BONUS_CRYSTAL_ORB : b=  new BonusCrystalOrb() ; break;
     
    }
    return b;
  }
View Full Code Here

Examples of rtype.entity.BonusCrystalOrb

    PlayerShip booster = new PlayerShip();
   
    BonusLightningOrb lBonus = new BonusLightningOrb();
        BonusRapidShootOrb rBonus = new BonusRapidShootOrb();
        BonusMagneticOrb mBonus = new BonusMagneticOrb();
        BonusCrystalOrb cBonus = new BonusCrystalOrb();
        BonusBooster bBonus = new BonusBooster();
       
        Text commandLabel = new Text("One more thing...");
        Text lightningLabel = new Text("Lightning Orb :");
        Text rapidLabel =     new Text("RapidFire Orb :");
        Text magneticLabel =  new Text("Magnetic  Orb :");
        Text crystalLabel =   new Text("Crystal   Orb :");
        Text boosterLabel =   new Text("Booster   Orb :");
       
       
    commandLabel.spawn(new Vector2f(pointX,pointY), immobile, layer);
       
    pointX = ORIGIN_X - interspaceX*2;
        pointY = ORIGIN_Y;
       
        pointY-=interspaceY;
        lightningLabel.spawn(new Vector2f(pointX,pointY), immobile, layer);
       
        pointY-=interspaceY;
        rapidLabel.spawn(new Vector2f(pointX,pointY), immobile, layer);
       
        pointY-=interspaceY;
        magneticLabel.spawn(new Vector2f(pointX,pointY), immobile, layer);
       
        pointY-=interspaceY;
        crystalLabel.spawn(new Vector2f(pointX,pointY), immobile, layer);
       
        pointY-=interspaceY;
        boosterLabel.spawn(new Vector2f(pointX,pointY), immobile, layer);
       
    pointX = ORIGIN_X + 50 ;
        pointY = ORIGIN_Y;
   
        pointY-=interspaceY;
        lBonus.spawn(new Vector2f(pointX,pointY), immobile, layer);
       
        pointY-=interspaceY;
        rBonus.spawn(new Vector2f(pointX,pointY), immobile, layer);
       
        pointY-=interspaceY;
        mBonus.spawn(new Vector2f(pointX,pointY), immobile, layer);
       
        pointY-=interspaceY;
        cBonus.spawn(new Vector2f(pointX,pointY), immobile, layer);
       
        pointY-=interspaceY;
        bBonus.spawn(new Vector2f(pointX,pointY), immobile, layer);
       
        pointX = ORIGIN_X + interspaceX+ 50;
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.