This class represent the user spaceship
This class represent the user spaceship. Please note the specialized redraw function and all the function to start and stop the thrust and the rotation of the ship.
Version History
- 0.1
- First Release.
- 0.1s
- Changed the interface between the GameSession and Ship Classes when a ship fires Instead of returning a pointer to the bullet that has fired the function add the new bullets to the passed container.
- 0.2s
- Added member functions for managing side movements and booleans to store the state of the side engines.
bool thrust
bool lthrust
bool rthrust
void Update(int t)
void ThrustOn()
void ThrustOff()
void StartStrafeLeft()
void StartStrafeRight()
void StopStrafeLeft()
void StopStrafeRight()
void StartLeft()
void StartRight()
void StopLeft()
void StopRight()
int MaxBullet()
void Shoot(list<Bullet *> &LB)
Alphabetic index HTML hierarchy of classes or Java