summaryrefslogtreecommitdiff
path: root/bulletpattern.h
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-05-17 14:38:17 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2010-05-17 14:38:17 +0200
commit19649941d59ad43aca2068f15249fd64fb0abff2 (patch)
tree8cad368c0c4310f119139ad2fbc4afc8c34070e6 /bulletpattern.h
parentad7de669ca9c3f4c5b428fdbeb05245fc8758657 (diff)
Implemented pattern 1 using BulletPattern inheritance.
Diffstat (limited to 'bulletpattern.h')
-rw-r--r--bulletpattern.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bulletpattern.h b/bulletpattern.h
index 50d5844..dffb928 100644
--- a/bulletpattern.h
+++ b/bulletpattern.h
@@ -7,7 +7,7 @@ class BulletPattern {
int num_bullets;
public:
BulletPattern();
- void update(unsigned int time, unsigned int step);
+ virtual void update(unsigned int time, unsigned int step);
void draw();
};