barsuift.simLife.tree
Class TreeLeafStateFactory

java.lang.Object
  extended by barsuift.simLife.tree.TreeLeafStateFactory

public class TreeLeafStateFactory
extends java.lang.Object


Constructor Summary
TreeLeafStateFactory()
           
 
Method Summary
 TreeLeafState createNewTreeLeafState(javax.vecmath.Point3d leafAttachPoint, java.math.BigDecimal energy)
          Create a new tree leaf state with following values : efficiency between 90 and 100 freeEnergy = 0 age = 0 new 3D state
 TreeLeafState createRandomTreeLeafState(javax.vecmath.Point3d leafAttachPoint)
          Create a random tree leaf state with following values : efficiency between 90 and 100 energy between 0 and 100 freeEnergy between 0 and 50 age between 0 and 100 random 3D state
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeLeafStateFactory

public TreeLeafStateFactory()
Method Detail

createRandomTreeLeafState

public TreeLeafState createRandomTreeLeafState(javax.vecmath.Point3d leafAttachPoint)
Create a random tree leaf state with following values :


createNewTreeLeafState

public TreeLeafState createNewTreeLeafState(javax.vecmath.Point3d leafAttachPoint,
                                            java.math.BigDecimal energy)
Create a new tree leaf state with following values :



Copyright © 2010. All Rights Reserved.