summaryrefslogtreecommitdiff
path: root/noncore/games/kbill/Spark.cc
Side-by-side diff
Diffstat (limited to 'noncore/games/kbill/Spark.cc') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/kbill/Spark.cc13
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 @@
+#include "objects.h"
+
+int Spark::delay(unsigned int lev) {
+ return game.MAX (20-lev, 0);
+}
+
+void Spark::load_pix() {
+ int i;
+ for (i=0; i<2; i++)
+ pictures[i].load("spark", i);
+ width = pictures[0].width;
+ height = pictures[0].height;
+}