FlyingSnowBall(const lisp::Lisp& reader);
FlyingSnowBall(const Vector& pos);
+ void initialize();
void activate();
void write(lisp::Writer& writer);
void active_update(float elapsed_time);
virtual FlyingSnowBall* clone() const { return new FlyingSnowBall(*this); }
protected:
- enum FlyingSnowballMode {
- FLY_UP,
- FLY_DOWN
- };
- FlyingSnowballMode mode;
- bool collision_squished(Player& player);
+ bool collision_squished(GameObject& object);
private:
- Timer timer;
+ float normal_propeller_speed;
Timer puff_timer; /**< time until the next smoke puff is spawned */
};
#endif
-