1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#ifndef SPARK_H #define SPARK_H #include "Picture.h" class Spark { public: Picture pictures[2]; int width, height; void draw(); void load_pix(); static const int speed = 5; int delay(unsigned int lev); }; #endif