This class represent a Game session
This class represent a Game session. It contain all the data needed during the game play, active game objects, score, lives and so on. Version History
- 0.1 First Release.
- 0.1s Modified Shoot to manage multiple shots .
- 0.3 Added collision detection between ship and asteroids, \Ref(AstShipCollision), and between bullets and Asteroids, BulletAstCollision. Modified Update to manage the effect of the various collisions (death of the player, explosion and splitting of the asteroid).
- 0.3s Added PauseFlag and implemented Pause()
list<Ast*> ActiveAst
list<GameObj *> ActiveObj
Ship* S
void Update(int dt)
void Draw()
void Clip(Point3f &p)
void Shoot()
void Start()
void Pause()
void End()
int ScreenW
int ScreenH
int SpaceSize
void AstShipCollision(Ast *a)
void BulletAstCollision(Bullet *b)
int deadpause
Alphabetic index HTML hierarchy of classes or Java