barsuift.simLife.tree
Interface TreeBranchPart

All Superinterfaces:
LivingPart, Persistent<State>, Photosynthetic, Subscriber

public interface TreeBranchPart
extends LivingPart, Photosynthetic, Subscriber


Method Summary
 TreeBranchPart3D getBranchPart3D()
           
 java.math.BigDecimal getEnergy()
          Return the energy of the branch part
 java.util.Collection<TreeLeaf> getLeaves()
           
 int getNbLeaves()
           
 void grow()
          Potentially create new leaves, or increase size of existing ones.
 
Methods inherited from interface barsuift.simLife.LivingPart
age, getCreationMillis
 
Methods inherited from interface barsuift.simLife.Persistent
getState, synchronize
 
Methods inherited from interface barsuift.simLife.tree.Photosynthetic
collectFreeEnergy, collectSolarEnergy
 
Methods inherited from interface barsuift.simLife.message.Subscriber
update
 

Method Detail

grow

void grow()
Potentially create new leaves, or increase size of existing ones.


getNbLeaves

int getNbLeaves()

getLeaves

java.util.Collection<TreeLeaf> getLeaves()

getBranchPart3D

TreeBranchPart3D getBranchPart3D()

getEnergy

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

Returns:
the energy


Copyright © 2010. All Rights Reserved.