-rw-r--r-- | noncore/games/kbill/Spark.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/noncore/games/kbill/Spark.h b/noncore/games/kbill/Spark.h new file mode 100644 index 0000000..4fbe6c8 --- a/dev/null +++ b/noncore/games/kbill/Spark.h | |||
@@ -0,0 +1,16 @@ | |||
1 | #ifndef SPARK_H | ||
2 | #define SPARK_H | ||
3 | |||
4 | #include "Picture.h" | ||
5 | |||
6 | class Spark { | ||
7 | public: | ||
8 | Picture pictures[2]; | ||
9 | int width, height; | ||
10 | void draw(); | ||
11 | void load_pix(); | ||
12 | static const int speed = 5; | ||
13 | int delay(unsigned int lev); | ||
14 | }; | ||
15 | |||
16 | #endif | ||