Examples of spawn()


Examples of rtype.entity.BonusRapidShootOrb.spawn()

   
        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;
View Full Code Here

Examples of rtype.entity.CrystalOrb.spawn()

        magnetic .spawn(new Vector2f(pointX,pointY), immobile, nullLayer);
        morb     .spawn(new Vector2f(pointX-400,pointY), immobile, layer);
       
        pointY-=interspaceY;
        crystal  .spawn(new Vector2f(pointX,pointY), immobile, nullLayer);
        corb     .spawn(new Vector2f(pointX-400,pointY), immobile, layer);
   
        pointY-=interspaceY;
        booster  .spawn(new Vector2f(pointX+60,pointY), immobile, nullLayer);
        booster.addBooster(layer);
    booster.addBooster(layer);
View Full Code Here

Examples of rtype.entity.LadyBird.spawn()

     
      if (generatedUnitCounter == maxUnitGenerated )
      {
        lady.setPresetBonus(BonusFactory.createBonus(Prototyp.random.nextInt(Bonus.BONUS_COUNT)));
      }
      lady.spawn(new Vector2f(Prototyp.SCREEN_WIDTH/2+10,x), defaultLadySpeed, Prototyp.enemies);
     
      generatedUnitCounter++;
    }
   
    if (generatedUnitCounter > maxUnitGenerated)
View Full Code Here

Examples of rtype.entity.LightningOrb.spawn()

        pointX = ORIGIN_X + interspaceX+ 50;
        pointY = ORIGIN_Y;
       
        pointY-=interspaceY;
        lightning.spawn(new Vector2f(pointX,pointY), immobile, nullLayer);
        lorb     .spawn(new Vector2f(pointX-400,pointY), immobile, layer);
       
        pointY-=interspaceY;
        rapid    .spawn(new Vector2f(pointX,pointY), immobile, nullLayer);
        rforb    .spawn(new Vector2f(pointX-400,pointY), immobile, layer);
       
View Full Code Here

Examples of rtype.entity.MagneticOrb.spawn()

        rapid    .spawn(new Vector2f(pointX,pointY), immobile, nullLayer);
        rforb    .spawn(new Vector2f(pointX-400,pointY), immobile, layer);
       
        pointY-=interspaceY;
        magnetic .spawn(new Vector2f(pointX,pointY), immobile, nullLayer);
        morb     .spawn(new Vector2f(pointX-400,pointY), immobile, layer);
       
        pointY-=interspaceY;
        crystal  .spawn(new Vector2f(pointX,pointY), immobile, nullLayer);
        corb     .spawn(new Vector2f(pointX-400,pointY), immobile, layer);
   
View Full Code Here

Examples of rtype.entity.Planet.spawn()

  public Intro(Prototyp prototyp)
  {
    this.prototyp = prototyp;
   
    Planet planet= new Planet(IEntity.PLANET);
      planet.spawn(new Vector2f(320,0),new Vector2f(7f*-1,0),Prototyp.background);
   
    layer = new Layer();
   
    Text title = new Text (" . Prototyp .");
    Text commandLabel = new Text("- Commands -");
View Full Code Here

Examples of rtype.entity.Planet.spawn()

 
  public void generateEntities()
  {

          Planet planet= new Planet(IEntity.PLANET);
          planet.spawn(new Vector2f(320,0),new Vector2f(b_s*-1,0),Prototyp.background);
         
          SpaceTrash trash = new SpaceTrash(IEntity.SPACE_TRASH_5);
          trash.rotation = 90;
          trash.spawn(new Vector2f(-20,100),new Vector2f(b_s*-6,0),Prototyp.frontground);

 
View Full Code Here

Examples of rtype.entity.PlayerShip.spawn()

        pointY-=interspaceY;
        crystal  .spawn(new Vector2f(pointX,pointY), immobile, nullLayer);
        corb     .spawn(new Vector2f(pointX-400,pointY), immobile, layer);
   
        pointY-=interspaceY;
        booster  .spawn(new Vector2f(pointX+60,pointY), immobile, nullLayer);
        booster.addBooster(layer);
    booster.addBooster(layer);

   
   
View Full Code Here

Examples of rtype.entity.RapidFireOrb.spawn()

        lightning.spawn(new Vector2f(pointX,pointY), immobile, nullLayer);
        lorb     .spawn(new Vector2f(pointX-400,pointY), immobile, layer);
       
        pointY-=interspaceY;
        rapid    .spawn(new Vector2f(pointX,pointY), immobile, nullLayer);
        rforb    .spawn(new Vector2f(pointX-400,pointY), immobile, layer);
       
        pointY-=interspaceY;
        magnetic .spawn(new Vector2f(pointX,pointY), immobile, nullLayer);
        morb     .spawn(new Vector2f(pointX-400,pointY), immobile, layer);
       
View Full Code Here

Examples of rtype.entity.SpaceTrash.spawn()

          Planet planet= new Planet(IEntity.PLANET);
          planet.spawn(new Vector2f(320,0),new Vector2f(b_s*-1,0),Prototyp.background);
         
          SpaceTrash trash = new SpaceTrash(IEntity.SPACE_TRASH_5);
          trash.rotation = 90;
          trash.spawn(new Vector2f(-20,100),new Vector2f(b_s*-6,0),Prototyp.frontground);

          trash = new SpaceTrash(IEntity.SPACE_TRASH_5);       
          trash.spawn(new Vector2f(100,115),new Vector2f(b_s*-5,0),10f,Prototyp.frontground);

          trash = new SpaceTrash(IEntity.SPACE_TRASH_3);
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.