Package eas.simulation.spatial.sim2D.standardScenes

Examples of eas.simulation.spatial.sim2D.standardScenes.ObstacleScene.rotateScene()


    public FelixWorld[] generateRunnables(ParCollection params) {
        FelixWorld[] worlds = new FelixWorld[1];
        ObstacleScene scene = new ObstacleScene(params);
        scene.scaleScene(0.5);
        scene.translateScene(new Vector2D(-20, -20));
        scene.rotateScene(10);
       
        worlds[0] = new FelixWorld(0, params);
        worlds[0].addCollidingAgent(new FelixAgent(0, worlds[0], params), new Vector2D(0, 0), 0);
        worlds[0].addCollidingAgent(new FelixAgent(1, worlds[0], params), new Vector2D(3, 0), 0);
        worlds[0].addCollidingAgent(new FelixAgent(2, worlds[0], params), new Vector2D(6, 0), 0);
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.