-rw-r--r-- | noncore/games/kbill/Spark.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/noncore/games/kbill/Spark.cc b/noncore/games/kbill/Spark.cc new file mode 100644 index 0000000..74c42fa --- a/dev/null +++ b/noncore/games/kbill/Spark.cc | |||
@@ -0,0 +1,13 @@ | |||
1 | #include "objects.h" | ||
2 | |||
3 | int Spark::delay(unsigned int lev) { | ||
4 | return game.MAX (20-lev, 0); | ||
5 | } | ||
6 | |||
7 | void Spark::load_pix() { | ||
8 | int i; | ||
9 | for (i=0; i<2; i++) | ||
10 | pictures[i].load("spark", i); | ||
11 | width = pictures[0].width; | ||
12 | height = pictures[0].height; | ||
13 | } | ||