barsuift.simLife.tree
Class TreeState
java.lang.Object
barsuift.simLife.tree.TreeState
- All Implemented Interfaces:
- State
public class TreeState
- extends java.lang.Object
- implements State
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
TreeState
public TreeState()
TreeState
public TreeState(long creationMillis,
java.math.BigDecimal energy,
java.util.List<TreeBranchState> branches,
ConditionalTaskState photosynthesis,
ConditionalTaskState aging,
ConditionalTaskState growth,
TreeTrunkState trunkState,
float height,
Tree3DState tree3dState)
getCreationMillis
public long getCreationMillis()
setCreationMillis
public void setCreationMillis(long creationMillis)
getEnergy
public java.math.BigDecimal getEnergy()
setEnergy
public void setEnergy(java.math.BigDecimal energy)
getBranches
public java.util.List<TreeBranchState> getBranches()
setBranches
public void setBranches(java.util.List<TreeBranchState> branches)
getPhotosynthesis
public ConditionalTaskState getPhotosynthesis()
setPhotosynthesis
public void setPhotosynthesis(ConditionalTaskState photosynthesis)
getAging
public ConditionalTaskState getAging()
setAging
public void setAging(ConditionalTaskState aging)
getGrowth
public ConditionalTaskState getGrowth()
setGrowth
public void setGrowth(ConditionalTaskState growth)
getTrunkState
public TreeTrunkState getTrunkState()
setTrunkState
public void setTrunkState(TreeTrunkState trunkState)
getHeight
public float getHeight()
setHeight
public void setHeight(float height)
getTree3DState
public Tree3DState getTree3DState()
setTree3DState
public void setTree3DState(Tree3DState tree3dState)
hashCode
public int hashCode()
- Specified by:
hashCode in interface State- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals in interface State- Overrides:
equals in class java.lang.Object
toString
public java.lang.String toString()
- Specified by:
toString in interface State- Overrides:
toString in class java.lang.Object
Copyright © 2010. All Rights Reserved.