Package barsuift.simLife.j3d.tree

Examples of barsuift.simLife.j3d.tree.TreeTrunk3DState


    public static TreeTrunkState createRandomTreeTrunkState() {
        int age = Randomizer.randomBetween(0, 100);
        float radius = (float) Math.random();
        float height = (float) Math.random();
        TreeTrunk3DState trunk3DState = DisplayDataCreatorForTests.createRandomTreeTrunk3DState();
        return new TreeTrunkState(createRandomId(), age, radius, height, trunk3DState);
    }
View Full Code Here


     */
    public static TreeTrunkState createSpecificTreeTrunkState() {
        int age = 15;
        float radius = (float) 0.5;
        float height = (float) 4;
        TreeTrunk3DState trunk3DState = DisplayDataCreatorForTests.createRandomTreeTrunk3DState();
        return new TreeTrunkState(createRandomId(), age, radius, height, trunk3DState);
    }
View Full Code Here

        super();
        this.id = new Long(0);
        this.age = 0;
        this.radius = 0;
        this.height = 0;
        this.trunk3DState = new TreeTrunk3DState();
    }
View Full Code Here

        super();
        this.id = copy.id;
        this.age = copy.age;
        this.radius = copy.radius;
        this.height = copy.height;
        this.trunk3DState = new TreeTrunk3DState(copy.trunk3DState);
    }
View Full Code Here

    public TreeTrunkState() {
        super();
        this.creationMillis = 0;
        this.radius = 0;
        this.height = 0;
        this.trunk3DState = new TreeTrunk3DState();
    }
View Full Code Here

    public static TreeTrunkState createRandomTreeTrunkState() {
        int age = Randomizer.randomBetween(0, 100);
        float radius = (float) Math.random();
        float height = (float) Math.random();
        TreeTrunk3DState trunk3DState = DisplayDataCreatorForTests.createRandomTreeTrunk3DState();
        return new TreeTrunkState(age, radius, height, trunk3DState);
    }
View Full Code Here

     */
    public static TreeTrunkState createSpecificTreeTrunkState() {
        int age = 15;
        float radius = (float) 0.5;
        float height = (float) 4;
        TreeTrunk3DState trunk3DState = DisplayDataCreatorForTests.createRandomTreeTrunk3DState();
        return new TreeTrunkState(age, radius, height, trunk3DState);
    }
View Full Code Here

TOP

Related Classes of barsuift.simLife.j3d.tree.TreeTrunk3DState

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.