summaryrefslogtreecommitdiff
path: root/src/bird.h
diff options
context:
space:
mode:
authorLogan Hunt <loganthebean222@gmail.com>2020-08-12 14:13:50 -0600
committerLogan Hunt <loganthebean222@gmail.com>2020-08-12 14:13:50 -0600
commit70ea8877ace50d2ce609d7d5f721c887b0ea83ec (patch)
tree514aa4f3d10b0a1db21928f8a002aa10458ecbb5 /src/bird.h
parent495f771530ce1869098bc568f34c243697cab73c (diff)
downloadskeet-cs165-70ea8877ace50d2ce609d7d5f721c887b0ea83ec.tar.gz
skeet-cs165-70ea8877ace50d2ce609d7d5f721c887b0ea83ec.zip
Added files
Diffstat (limited to 'src/bird.h')
-rw-r--r--src/bird.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/bird.h b/src/bird.h
new file mode 100644
index 0000000..3354f59
--- /dev/null
+++ b/src/bird.h
@@ -0,0 +1,19 @@
+#ifndef BIRD_H
+#define BIRD_H
+
+#include "point.h"
+#include "velocity.h"
+#include "UFO.h"
+
+class Bird: public UFO
+{
+ public:
+ Bird();
+ void setRandomDy( const float minDy , const float maxDy );
+ void setRandomDx();
+ void draw();
+ virtual void applyGravity ( ) = 0;
+ virtual int hit() = 0;
+};
+
+#endif