summaryrefslogtreecommitdiff
path: root/src/bullet.h
diff options
context:
space:
mode:
authorSimponic <loganthebean222@gmail.com>2020-08-13 12:07:52 -0600
committerSimponic <loganthebean222@gmail.com>2020-08-13 12:07:52 -0600
commitd8b164e4727c887979d4da6a4011a444749862fc (patch)
tree63ae5ebfab9c1e438c0c2ccc97668e3ab809bdbd /src/bullet.h
parent40a568c50224c2832aeb13bd469d714d126118e1 (diff)
downloadasteroids-cs165-d8b164e4727c887979d4da6a4011a444749862fc.tar.gz
asteroids-cs165-d8b164e4727c887979d4da6a4011a444749862fc.zip
Better file structure, stuff is better in general
Diffstat (limited to 'src/bullet.h')
-rw-r--r--src/bullet.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/bullet.h b/src/bullet.h
deleted file mode 100644
index 3392ee4..0000000
--- a/src/bullet.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#ifndef bullet_h
-#define bullet_h
-
-#define BULLET_SPEED 10
-#define BULLET_LIFE 40
-
-#include "point.h"
-#include "velocity.h"
-#include "flyingObject.h"
-
-class Bullet : public FlyingObject
-{
-private:
- int framesAlive;
-
-public:
- Bullet( const Point &point );
- int getFramesAlive() const { return framesAlive; };
- void fire( const Velocity &velocity , const float angle );
- void advance();
-};
-
-
-#endif /* bullet_h */