|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Photosynthetic
A photosynthetic element can collect solar energy. This collected energy is then divided in two parts : energy for the element itself, and free energy that can be collected by another element, typically, the one containing the photosynthetic element.
| Method Summary | |
|---|---|
java.math.BigDecimal |
collectFreeEnergy()
Return the free energy, and reset its value to 0. |
void |
collectSolarEnergy()
Collect solar energy. |
| Method Detail |
|---|
java.math.BigDecimal collectFreeEnergy()
void collectSolarEnergy()
If this instance contains other photosynthetic elements, it calls the collectSolarEnergy() method of
these elements, immediately followed by the collectFreeEnergy() method.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||