Examples of EnvironmentStateFactory


Examples of barsuift.simLife.environment.EnvironmentStateFactory

            Point3d translationVector = originPoints.get(new Long(i));
            trees.add(treeStateFactory.createRandomTreeState(translationVector));
        }
        Set<TreeLeafState> fallenLeaves = new HashSet<TreeLeafState>(0);

        EnvironmentStateFactory envStateFactory = new EnvironmentStateFactory();
        EnvironmentState environment = envStateFactory.createEnvironmentState();
        PhysicsStateFactory physicsStateFactory = new PhysicsStateFactory();
        PhysicsState physics = physicsStateFactory.createPhysicsState();
        SynchronizerCoreStateFactory synchronizerStateFactory = new SynchronizerCoreStateFactory();
        SynchronizerCoreState synchronizerState = synchronizerStateFactory.createSynchronizerCoreState();
        DateHandlerState dateHandler = new DateHandlerState();
View Full Code Here

Examples of barsuift.simLife.environment.EnvironmentStateFactory

     * @return
     */
    public UniverseState createEmptyUniverseState() {
        Set<TreeState> trees = new HashSet<TreeState>(0);
        Set<TreeLeafState> fallenLeaves = new HashSet<TreeLeafState>(0);
        EnvironmentStateFactory envStateFactory = new EnvironmentStateFactory();
        EnvironmentState environment = envStateFactory.createEnvironmentState();
        PhysicsStateFactory physicsStateFactory = new PhysicsStateFactory();
        PhysicsState physics = physicsStateFactory.createPhysicsState();
        SynchronizerCoreStateFactory synchronizerStateFactory = new SynchronizerCoreStateFactory();
        SynchronizerCoreState synchronizerState = synchronizerStateFactory.createSynchronizerCoreState();
        DateHandlerState dateHandler = new DateHandlerState();
View Full Code Here

Examples of barsuift.simLife.environment.EnvironmentStateFactory

            Point3d translationVector = originPoints.get(new Long(i));
            trees.add(treeStateFactory.createRandomTreeState(translationVector));
        }
        Set<TreeLeafState> fallenLeaves = new HashSet<TreeLeafState>(0);

        EnvironmentStateFactory envStateFactory = new EnvironmentStateFactory();
        EnvironmentState environment = envStateFactory.createEnvironmentState();

        return new UniverseState(0, fpsShowing, trees, fallenLeaves, environment, new TimeCounterState());
    }
View Full Code Here

Examples of barsuift.simLife.environment.EnvironmentStateFactory

     */
    public UniverseState createEmptyUniverseState() {
        boolean fpsShowing = false;
        Set<TreeState> trees = new HashSet<TreeState>(0);
        Set<TreeLeafState> fallenLeaves = new HashSet<TreeLeafState>(0);
        EnvironmentStateFactory envStateFactory = new EnvironmentStateFactory();
        EnvironmentState environment = envStateFactory.createEnvironmentState();
        return new UniverseState(0, fpsShowing, trees, fallenLeaves, environment, new TimeCounterState());
    }
View Full Code Here

Examples of barsuift.simLife.environment.EnvironmentStateFactory

            Point3d translationVector = originPoints.get(new Long(i));
            trees.add(treeStateFactory.createRandomTreeState(translationVector, nbBranches, height));
        }
        Set<TreeLeafState> fallenLeaves = new HashSet<TreeLeafState>(0);

        EnvironmentStateFactory envStateFactory = new EnvironmentStateFactory();
        EnvironmentState environment = envStateFactory.createEnvironmentState();

        return new UniverseState(UNIVERSE_COUNT++, 0, trees, fallenLeaves, environment, new TimeCounterState());
    }
View Full Code Here

Examples of barsuift.simLife.environment.EnvironmentStateFactory

    }

    public UniverseState createEmptyUniverseState() {
        Set<TreeState> trees = new HashSet<TreeState>(0);
        Set<TreeLeafState> fallenLeaves = new HashSet<TreeLeafState>(0);
        EnvironmentStateFactory envStateFactory = new EnvironmentStateFactory();
        EnvironmentState environment = envStateFactory.createEnvironmentState();
        return new UniverseState(UNIVERSE_COUNT++, 0, trees, fallenLeaves, environment, new TimeCounterState());
    }
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.