Gav
Class CBiot

java.lang.Object
  |
  +--Gav.CBiot
Direct Known Subclasses:
CBiomorph

abstract class CBiot
extends java.lang.Object

CBiot : Abstract Living Entity class. Defines the common living properties and methods


Field Summary
(package private)  int Direction
           
private  double EnergyLevel
           
(package private)  CBiotType MyType
          Type of entity manager
 CUniverse MyUniverse
          Pointer to living entity universe
(package private)  PosReal Position
           
 int Selected
          Selection type
 
Constructor Summary
CBiot()
           
CBiot(CUniverse univ)
          Creates a Biot in a Universe
 
Method Summary
 double GetEnergyLevel()
           
 CBiotType GetMyType()
           
 CUniverse GetMyUniverse()
          Universe getter
(package private) abstract  void Live(JPView v)
           
 void SetBiotType(CBiotType t)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

MyUniverse

public CUniverse MyUniverse
Pointer to living entity universe

Selected

public int Selected
Selection type

EnergyLevel

private double EnergyLevel

Direction

int Direction

Position

PosReal Position

MyType

CBiotType MyType
Type of entity manager
Constructor Detail

CBiot

public CBiot()

CBiot

public CBiot(CUniverse univ)
Creates a Biot in a Universe
Method Detail

GetMyUniverse

public CUniverse GetMyUniverse()
Universe getter

GetMyType

public CBiotType GetMyType()

SetBiotType

public void SetBiotType(CBiotType t)

GetEnergyLevel

public double GetEnergyLevel()

Live

abstract void Live(JPView v)