summaryrefslogtreecommitdiff
path: root/bulletpattern.h
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-05-17 12:57:09 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-05-17 12:57:09 +0200
commitc40b10c9b1f216e75a153b37c7987268a1a66b1e (patch)
tree8a7335516ad068840a5e63f5fa1f05bcd6ab4667 /bulletpattern.h
parent33c2afafa0c6b936dace4b2b6203f03a89823049 (diff)
Created BulletPattern-class.
Diffstat (limited to 'bulletpattern.h')
-rw-r--r--bulletpattern.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/bulletpattern.h b/bulletpattern.h
new file mode 100644
index 0000000..50d5844
--- /dev/null
+++ b/bulletpattern.h
@@ -0,0 +1,14 @@
+#ifndef BULLETPATTERN_H
+#define BULLETPATTERN_H
+
+class BulletPattern {
+ protected:
+ float* bullets;
+ int num_bullets;
+ public:
+ BulletPattern();
+ void update(unsigned int time, unsigned int step);
+ void draw();
+};
+
+#endif