Gav
Class CUniverse

java.lang.Object
  |
  +--Gav.CUniverse
Direct Known Subclasses:
CGavUniverse

abstract class CUniverse
extends java.lang.Object

CUniverse : Abstract class to define universe Basic properties


Field Summary
(package private)  java.util.Vector Biots
          Biots Collection
(package private) static int BIOTS_BKP_SIZE
           
(package private)  java.util.Stack BiotsBkp
          2d Biots Collection for diverses uses
(package private)  java.awt.Container MyApp
          Pointer to Application
(package private)  int NbDirections
           
 
Constructor Summary
CUniverse(java.awt.Container app)
          Constructor
 
Method Summary
 void AddBiotBkp(CBiot b)
          Add a Biot to BKP
abstract  void DrawWorld(JPView jpv)
          Draw the World
 void EmptyBiotBkp()
          Empty BiotBkp
 CBiot GetBiotAt(int n)
          Return the nth Biot in Collection
 CBiot GetBiotBkp()
          Get Last Biot in BKP
abstract  void Go(JPView jpv)
          Run the World
 void RemoveBiotBkp()
          Remove a Biot from BKP
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

BIOTS_BKP_SIZE

static final int BIOTS_BKP_SIZE

MyApp

java.awt.Container MyApp
Pointer to Application

NbDirections

final int NbDirections

Biots

java.util.Vector Biots
Biots Collection

BiotsBkp

java.util.Stack BiotsBkp
2d Biots Collection for diverses uses
Constructor Detail

CUniverse

public CUniverse(java.awt.Container app)
Constructor
Method Detail

GetBiotAt

public CBiot GetBiotAt(int n)
Return the nth Biot in Collection

AddBiotBkp

public void AddBiotBkp(CBiot b)
Add a Biot to BKP

RemoveBiotBkp

public void RemoveBiotBkp()
Remove a Biot from BKP

EmptyBiotBkp

public void EmptyBiotBkp()
Empty BiotBkp

GetBiotBkp

public CBiot GetBiotBkp()
Get Last Biot in BKP

Go

public abstract void Go(JPView jpv)
Run the World

DrawWorld

public abstract void DrawWorld(JPView jpv)
Draw the World