barsuift.simLife.tree
Class BasicTreeTrunk

java.lang.Object
  extended by barsuift.simLife.tree.BasicTreeTrunk
All Implemented Interfaces:
LivingPart, Persistent<State>, TreeTrunk

public class BasicTreeTrunk
extends java.lang.Object
implements TreeTrunk


Constructor Summary
BasicTreeTrunk(Universe universe, TreeTrunkState state)
           
 
Method Summary
 int getAge()
           
 float getHeight()
           
 float getRadius()
           
 TreeTrunkState getState()
           
 TreeTrunk3D getTreeTrunk3D()
           
 void spendTime()
           
 void synchronize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicTreeTrunk

public BasicTreeTrunk(Universe universe,
                      TreeTrunkState state)
Method Detail

getHeight

public float getHeight()
Specified by:
getHeight in interface TreeTrunk

getRadius

public float getRadius()
Specified by:
getRadius in interface TreeTrunk

getState

public TreeTrunkState getState()
Specified by:
getState in interface Persistent<State>

synchronize

public void synchronize()
Specified by:
synchronize in interface Persistent<State>

getAge

public int getAge()
Specified by:
getAge in interface LivingPart

spendTime

public void spendTime()
Specified by:
spendTime in interface LivingPart

getTreeTrunk3D

public TreeTrunk3D getTreeTrunk3D()
Specified by:
getTreeTrunk3D in interface TreeTrunk


Copyright © 2010. All Rights Reserved.