|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbarsuift.simLife.tree.TreeLeafStateFactory
public class TreeLeafStateFactory
| Constructor Summary | |
|---|---|
TreeLeafStateFactory()
|
|
| Method Summary | |
|---|---|
TreeLeafState |
createNewTreeLeafState(javax.vecmath.Point3d leafAttachPoint,
java.math.BigDecimal energy)
Create a new tree leaf state with following values : id incremented from a sequence 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 : id incremented from a sequence 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 |
|---|
public TreeLeafStateFactory()
| Method Detail |
|---|
public TreeLeafState createRandomTreeLeafState(javax.vecmath.Point3d leafAttachPoint)
public TreeLeafState createNewTreeLeafState(javax.vecmath.Point3d leafAttachPoint,
java.math.BigDecimal energy)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||