class TriShip: public Ship

This class represent an example of specialization

Inheritance:


Public Methods

[more]void Draw()
The Draw function has been rewritten
[more]int MaxBullet()
The maximum number of bullet now is 30 instead of 10
[more]void Shoot(list<Bullet *> &LB)
Shoot a new bullet triple

Documentation

This class represent an example of specialization. Draw, MaxBullet and Shoot has been rewritten. Please note the changed interface of the shoot function, now it returns a list of bullets (instead of a single bullet) Also GameSession::Shoot() has been changed.
ovoid Draw()
The Draw function has been rewritten. Now we have a new shape and an animated thrust flame too.

oint MaxBullet()
The maximum number of bullet now is 30 instead of 10

ovoid Shoot(list<Bullet *> &LB)
Shoot a new bullet triple. It creates the three new bullets and return them in a list


This class has no child classes.
See Also:
GameSession::Shoot()

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.