barsuift.simLife.tree
Interface TreeBranch

All Superinterfaces:
LivingPart

public interface TreeBranch
extends LivingPart


Method Summary
 java.math.BigDecimal collectFreeEnergy()
          Return the free energy in the branch, and set its value to 0
 TreeBranch3D getBranch3D()
           
 java.math.BigDecimal getEnergy()
          Return the energy of the branch
 int getNbLeaves()
           
 int getNbParts()
           
 java.util.List<TreeBranchPart> getParts()
           
 TreeBranchState getState()
           
 
Methods inherited from interface barsuift.simLife.LivingPart
getAge, getId, spendTime
 

Method Detail

getNbLeaves

int getNbLeaves()

getParts

java.util.List<TreeBranchPart> getParts()

getNbParts

int getNbParts()

getState

TreeBranchState getState()

getBranch3D

TreeBranch3D getBranch3D()

getEnergy

java.math.BigDecimal getEnergy()
Return the energy of the branch

Returns:
the energy

collectFreeEnergy

java.math.BigDecimal collectFreeEnergy()
Return the free energy in the branch, and set its value to 0

Returns:
the free energy


Copyright © 2010. All Rights Reserved.