summaryrefslogtreecommitdiff
path: root/bullet.h
diff options
context:
space:
mode:
authorSimponic <loganthebean222@gmail.com>2020-06-30 20:10:29 -0600
committerSimponic <loganthebean222@gmail.com>2020-06-30 20:10:29 -0600
commit3010473314505bd948c687ac644b7d87ef03298d (patch)
treee7099f6c431305cdd041d32ba244eb6360eec2f9 /bullet.h
parent7a60ab9f178dd813c876fcf8e25c947f9a9a5e06 (diff)
downloadasteroids-cs165-3010473314505bd948c687ac644b7d87ef03298d.tar.gz
asteroids-cs165-3010473314505bd948c687ac644b7d87ef03298d.zip
Updated file structure and changed indents to spaces
Diffstat (limited to 'bullet.h')
-rw-r--r--bullet.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/bullet.h b/bullet.h
deleted file mode 100644
index 3392ee4..0000000
--- a/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 */