Examples of rotateScene()


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

                    rand.nextDouble() * 360,
                    new Vector2D(2.8, 2.8));
        }
       
        obstacleScene.scaleScene(0.05);
        obstacleScene.rotateScene(10);
        world.addCollidingAgent(agent, Vector2D.NULL_VECTOR, 0);
        world.addScene(obstacleScene);

        return new PacmanWorld[] {world};
    }
View Full Code Here

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

        JebensUmgebung[] envs = new JebensUmgebung[1];
       
        envs[0] = new JebensUmgebung(0, params);
       
        Scene2D<AbstractAgent2D<?>> scene = new ObstacleRectangularSceneWithAgents(10, params);
        scene.rotateScene(35);
        envs[0].addScene(scene);
       
        return envs;
    }
View Full Code Here

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.