Package eas.users.students.dominikColling.rocket

Examples of eas.users.students.dominikColling.rocket.DomPhysEnv


  public DomPhysEnv[] generateRunnables(ParCollection params) {
    // TODO Auto-generated method stub
   
       
    /* Gravitation mit Vector2f einstellbar*/
    DomPhysEnv env
    = new DomPhysEnv(0, params, new Vector2f(0, 0), 100);
   
    DomPhysBalken balken = new DomPhysBalken (1, env, "balken", 1,params);
    env.addAgent(balken, new Vector2D(-100, -100), 45);
   
    //balken.adjustAngularVelocity(1f);
    DomPhysBalken balken2 = new DomPhysBalken (2, env, "balken", 1,params);
    env.addAgent(balken2, new Vector2D(-100, 100), 135);
   
    DomPhysBalken balken3 = new DomPhysBalken (3, env, "balken", 1,params);
    env.addAgent(balken3, new Vector2D(100, 100), 315);
   
    DomPhysBalken balken4 = new DomPhysBalken (4, env, "balken", 1,params);
    env.addAgent(balken4, new Vector2D(100, -100), 315);
   
    DomPhysBalken balken5 = new DomPhysBalken (5, env, "balken", 1,params);
    env.addAgent(balken5, new Vector2D(0, -140), 90);
   
    DomPhysBalken balken6 = new DomPhysBalken (6, env, "balken", 1,params);
    env.addAgent(balken6, new Vector2D(-140, 0), 90);
   
    DomPhysBalken balken7 = new DomPhysBalken (7, env, "balken", 1,params);
    env.addAgent(balken7, new Vector2D(140, 0), 90);
   
    DomPhysBalken balken8 = new DomPhysBalken (8, env, "balken", 1,params);
    env.addAgent(balken8, new Vector2D(0, 140), 0);
   
   
   
   
    return new DomPhysEnv[] {env};
View Full Code Here

TOP

Related Classes of eas.users.students.dominikColling.rocket.DomPhysEnv

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.