barsuift.simLife.tree
Interface TreeLeaf
- All Superinterfaces:
- IObservable, LivingPart, Persistent<State>
public interface TreeLeaf
- extends LivingPart, IObservable
isTooWeak
boolean isTooWeak()
getTreeLeaf3D
TreeLeaf3D getTreeLeaf3D()
getEfficiency
java.math.BigDecimal getEfficiency()
- Return the efficiency of the leaf. This efficiency impacts the amount of solar energy which can be collected.
- Returns:
- the efficiency
getEnergy
java.math.BigDecimal getEnergy()
- Return the energy of the leaf
- Returns:
- the energy
collectFreeEnergy
java.math.BigDecimal collectFreeEnergy()
- Return the free energy in the leaf, and set its value to 0
- Returns:
- the free energy
Copyright © 2010. All Rights Reserved.