summaryrefslogtreecommitdiff
path: root/noncore/games/kbill/Spark.cc
blob: 74c42fa82136ee6d3e8395102f63b81ac3e0e99c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;
}