barsuift.simLife.tree
Class TreeState

java.lang.Object
  extended by barsuift.simLife.tree.TreeState
All Implemented Interfaces:
State

public class TreeState
extends java.lang.Object
implements State


Constructor Summary
TreeState()
           
TreeState(long creationMillis, java.math.BigDecimal energy, java.util.List<TreeBranchState> branches, ConditionalTaskState photosynthesis, ConditionalTaskState aging, ConditionalTaskState growth, TreeTrunkState trunkState, float height, Tree3DState tree3dState)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 ConditionalTaskState getAging()
           
 java.util.List<TreeBranchState> getBranches()
           
 long getCreationMillis()
           
 java.math.BigDecimal getEnergy()
           
 ConditionalTaskState getGrowth()
           
 float getHeight()
           
 ConditionalTaskState getPhotosynthesis()
           
 Tree3DState getTree3DState()
           
 TreeTrunkState getTrunkState()
           
 int hashCode()
           
 void setAging(ConditionalTaskState aging)
           
 void setBranches(java.util.List<TreeBranchState> branches)
           
 void setCreationMillis(long creationMillis)
           
 void setEnergy(java.math.BigDecimal energy)
           
 void setGrowth(ConditionalTaskState growth)
           
 void setHeight(float height)
           
 void setPhotosynthesis(ConditionalTaskState photosynthesis)
           
 void setTree3DState(Tree3DState tree3dState)
           
 void setTrunkState(TreeTrunkState trunkState)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.