summaryrefslogtreecommitdiff
path: root/bulletpattern.h
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-05-17 16:34:05 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2010-05-17 16:34:05 +0200
commit3506d3df9f2e929def5b1662e08481d28643358f (patch)
tree88d79474f5a59941b568ddfd3170ee70cbfc0c35 /bulletpattern.h
parentcc150354fd91c05ef863137cdf53eb5a413d76b1 (diff)
Added stride and colors to BulletPattern.
Diffstat (limited to 'bulletpattern.h')
-rw-r--r--bulletpattern.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bulletpattern.h b/bulletpattern.h
index dffb928..092713e 100644
--- a/bulletpattern.h
+++ b/bulletpattern.h
@@ -5,7 +5,10 @@ class BulletPattern {
protected:
float* bullets;
int num_bullets;
+ int stride;
public:
+ float color_r, color_g, color_b;
+
BulletPattern();
virtual void update(unsigned int time, unsigned int step);
void draw();