From f696350881eeeaf319c29e615cabaa351c55eb12 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sun, 23 May 2010 19:15:11 +0200 Subject: Changed BulletPattern::update to not take time and step arguments. Also updated patterns. --- engine/bulletpattern.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'engine/bulletpattern.h') diff --git a/engine/bulletpattern.h b/engine/bulletpattern.h index 092713e..9acda5f 100644 --- a/engine/bulletpattern.h +++ b/engine/bulletpattern.h @@ -4,13 +4,14 @@ class BulletPattern { protected: float* bullets; - int num_bullets; - int stride; + unsigned int num_bullets; + unsigned int stride; + unsigned int steps; public: float color_r, color_g, color_b; BulletPattern(); - virtual void update(unsigned int time, unsigned int step); + virtual void update(); void draw(); }; -- cgit v1.2.3