Package barsuift.simLife.j3d.universe

Examples of barsuift.simLife.j3d.universe.Universe3DState


        }
        EnvironmentState environmentState = createRandomEnvironmentState();
        PhysicsState physicsState = createRandomPhysicsState();
        SynchronizerCoreState synchronizerState = createRandomSynchronizerCoreState();
        DateHandlerState dateHandler = createRandomDateHandlerState();
        Universe3DState univ3DState = DisplayDataCreatorForTests.createRandomUniverse3DState();
        return new UniverseState(trees, fallenLeaves, environmentState, physicsState, synchronizerState, dateHandler,
                univ3DState);
    }
View Full Code Here


        for (int i = 0; i < nbFallenLeaves; i++) {
            fallenLeaves.add(createSpecificTreeLeafState());
        }
        EnvironmentState environmentState = createSpecificEnvironmentState();
        PhysicsState physicsState = createSpecificPhysicsState();
        Universe3DState univ3DState = DisplayDataCreatorForTests.createSpecificUniverse3DState();
        SynchronizerCoreState synchronizerState = createSpecificSynchronizerCoreState();
        DateHandlerState dateHandler = createSpecificDateHandlerState();
        return new UniverseState(trees, fallenLeaves, environmentState, physicsState, synchronizerState, dateHandler,
                univ3DState);
    }
View Full Code Here

        return new Environment3DState();
    }

    public static Universe3DState createRandomUniverse3DState() {
        Synchronizer3DState synchronizerState = createRandomSynchronizer3DState();
        return new Universe3DState(synchronizerState);
    }
View Full Code Here

        return new Universe3DState(synchronizerState);
    }

    public static Universe3DState createSpecificUniverse3DState() {
        Synchronizer3DState synchronizerState = createSpecificSynchronizer3DState();
        return new Universe3DState(synchronizerState);
    }
View Full Code Here

        SynchronizerCoreStateFactory synchronizerStateFactory = new SynchronizerCoreStateFactory();
        SynchronizerCoreState synchronizerState = synchronizerStateFactory.createSynchronizerCoreState();
        DateHandlerState dateHandler = new DateHandlerState();

        Universe3DStateFactory univ3DStateFactory = new Universe3DStateFactory();
        Universe3DState univ3DState = univ3DStateFactory.createRandomUniverse3DState();

        return new UniverseState(trees, fallenLeaves, environment, physics, synchronizerState, dateHandler, univ3DState);
    }
View Full Code Here

        PhysicsState physics = physicsStateFactory.createPhysicsState();
        SynchronizerCoreStateFactory synchronizerStateFactory = new SynchronizerCoreStateFactory();
        SynchronizerCoreState synchronizerState = synchronizerStateFactory.createSynchronizerCoreState();
        DateHandlerState dateHandler = new DateHandlerState();
        Universe3DStateFactory univ3DStateFactory = new Universe3DStateFactory();
        Universe3DState univ3DState = univ3DStateFactory.createEmptyUniverse3DState();

        return new UniverseState(trees, fallenLeaves, environment, physics, synchronizerState, dateHandler, univ3DState);
    }
View Full Code Here

    private Gravity3DState gravity3DState;

    protected void setUp() throws Exception {
        super.setUp();
        Universe3DStateFactory universe3DStateFactory = new Universe3DStateFactory();
        Universe3DState universe3DState = universe3DStateFactory.createRandomUniverse3DState();
        universe3D = new BasicUniverse3D(universe3DState, new MockUniverse());

        Gravity3DStateFactory gravity3DStateFactory = new Gravity3DStateFactory();
        gravity3DState = gravity3DStateFactory.createGravity3DState();
    }
View Full Code Here

        this.fallenLeaves = new HashSet<TreeLeafState>();
        this.environment = new EnvironmentState();
        this.physics = new PhysicsState();
        this.synchronizerState = new SynchronizerCoreState();
        this.dateHandler = new DateHandlerState();
        this.univ3DState = new Universe3DState();
    }
View Full Code Here

TOP

Related Classes of barsuift.simLife.j3d.universe.Universe3DState

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.