summaryrefslogtreecommitdiff
path: root/src/bird.h
diff options
context:
space:
mode:
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