barsuift.simLife
Interface LivingPart

All Superinterfaces:
Persistent<State>
All Known Subinterfaces:
Tree, TreeBranch, TreeBranchPart, TreeLeaf, TreeTrunk, Universe

public interface LivingPart
extends Persistent<State>


Method Summary
 int getAge()
           
 void spendTime()
          Make the living part spend some time.
 
Methods inherited from interface barsuift.simLife.Persistent
getState, synchronize
 

Method Detail

spendTime

void spendTime()
Make the living part spend some time.

Depending on the living part, the consequences of this method may differ widely.

Usually, it means :


getAge

int getAge()


Copyright © 2010. All Rights Reserved.