Jeffery Hurley
/
Asteroids
Simple starter skeleton for asteroids video game.
CommandShip.h
- Committer:
- jhurley31
- Date:
- 2021-04-01
- Revision:
- 3:98aa3db6a48f
File content as of revision 3:98aa3db6a48f:
#pragma once #include <list> #include "Sprite.h" #include "Projectile.h" #define NUM_LASERS 5 class CommandShip : public Sprite { public: CommandShip(); virtual void move(); virtual bool checkCollision(const Sprite &InSprite) {return false;} void rotateLeft(); // if rotating right just stop in place void rotateRight(); // if rotating right just stop in place void fire(); Projectile m_lasers[NUM_LASERS]; };