Package eas.simulation.spatial.sim2D.physicalSimulation.standardAgents

Examples of eas.simulation.spatial.sim2D.physicalSimulation.standardAgents.PhysicalObstacle


                new Vector2f(0, 50),
                500,
                new BruteCollisionStrategy());
       
        envs[0] = env;
        env.addAgent(new PhysicalObstacle(0, env, params, 10), new Vector2D(13, -150), 26);
        env.addCollidingAgent(new PhysicalObstacle(1, env, params, 10), new Vector2D(55, -100), 45);
        env.addCollidingAgent(new PhysicalObstacle(2, env, params, 10), new Vector2D(51, -70), 77);
        env.addCollidingAgent(new PhysicalObstacle(6, env, params, 10), new Vector2D(0, -50), 73);
        env.addCollidingAgent(new PhysicalObstacle(7, env, params, 10), new Vector2D(140, -50), 0);
        env.addCollidingAgent(new PhysicalObstacle(8, env, params, 10), new Vector2D(140, -150), 0);
        env.addCollidingAgent(new StaticBody(3, env, params), new Vector2D(-10, -50), 0);
        env.addCollidingAgent(new StaticBody(13, env, params), new Vector2D(-85, -30), 90);
        env.addCollidingAgent(new StaticBody(4, env, params), new Vector2D(16, 0), 4);
        env.addCollidingAgent(new StaticBody(5, env, params), new Vector2D(175, 20), 7);
        env.addCollidingAgent(new StaticBody(10, env, params), new Vector2D(275, 99), -16);
View Full Code Here

TOP

Related Classes of eas.simulation.spatial.sim2D.physicalSimulation.standardAgents.PhysicalObstacle

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.