barsuift.simLife.tree
Interface Tree

All Superinterfaces:
LivingPart, Persistent<State>, Photosynthetic

public interface Tree
extends LivingPart, Photosynthetic


Method Summary
 java.util.List<TreeBranch> getBranches()
           
 java.math.BigDecimal getEnergy()
          Return the energy of the tree
 float getHeight()
           
 int getNbBranches()
           
 int getNbLeaves()
           
 Tree3D getTree3D()
           
 TreeTrunk getTrunk()
           
 
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
 

Method Detail

getHeight

float getHeight()

getNbBranches

int getNbBranches()

getNbLeaves

int getNbLeaves()

getBranches

java.util.List<TreeBranch> getBranches()

getTrunk

TreeTrunk getTrunk()

getTree3D

Tree3D getTree3D()

getEnergy

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

Returns:
the energy


Copyright © 2010. All Rights Reserved.