Examples of Tree3DState


Examples of barsuift.simLife.j3d.tree.Tree3DState

        for (int i = 0; i < nbBranches; i++) {
            branches.add(createSpecificTreeBranchState());
        }
        TreeTrunkState trunkState = createSpecificTreeTrunkState();
        float height = (float) 4;
        Tree3DState tree3dState = DisplayDataCreatorForTests.createRandomTree3DState();
        return new TreeState(createRandomId(), age, energy, branches, trunkState, height, tree3dState);
    }
View Full Code Here

Examples of barsuift.simLife.j3d.tree.Tree3DState

        this.age = 0;
        this.energy = new BigDecimal(0);
        this.branches = new ArrayList<TreeBranchState>();
        this.height = 0;
        this.trunkState = new TreeTrunkState();
        this.tree3DState = new Tree3DState();
    }
View Full Code Here

Examples of barsuift.simLife.j3d.tree.Tree3DState

        for (TreeBranchState branchState : copy.branches) {
            branches.add(new TreeBranchState(branchState));
        }
        this.trunkState = new TreeTrunkState(copy.trunkState);
        this.height = copy.height;
        this.tree3DState = new Tree3DState(copy.tree3DState);
    }
View Full Code Here

Examples of barsuift.simLife.j3d.tree.Tree3DState

        this.creationMillis = 0;
        this.energy = new BigDecimal(0);
        this.branches = new ArrayList<TreeBranchState>();
        this.height = 0;
        this.trunkState = new TreeTrunkState();
        this.tree3DState = new Tree3DState();
        this.photosynthesis = new ConditionalTaskState();
        this.aging = new ConditionalTaskState();
        this.growth = new ConditionalTaskState();
    }
View Full Code Here

Examples of barsuift.simLife.j3d.tree.Tree3DState

        for (int i = 0; i < nbBranches; i++) {
            branches.add(createRandomTreeBranchState());
        }
        TreeTrunkState trunkState = createRandomTreeTrunkState();
        float height = (float) Math.random();
        Tree3DState tree3dState = DisplayDataCreatorForTests.createRandomTree3DState();
        return new TreeState(age, energy, branches, trunkState, height, tree3dState);
    }
View Full Code Here

Examples of barsuift.simLife.j3d.tree.Tree3DState

        for (int i = 0; i < nbBranches; i++) {
            branches.add(createSpecificTreeBranchState());
        }
        TreeTrunkState trunkState = createSpecificTreeTrunkState();
        float height = (float) 4;
        Tree3DState tree3dState = DisplayDataCreatorForTests.createRandomTree3DState();
        return new TreeState(age, energy, branches, trunkState, height, tree3dState);
    }
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.