Package rtype.entity

Examples of rtype.entity.Planet


 
  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


  private static final float b_s = 7f;
 
  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

TOP

Related Classes of rtype.entity.Planet

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.