summaryrefslogtreecommitdiff
path: root/noncore/games/sfcave-sdl/fly_game.h
blob: 1ab081abda02f3fdc32724f56f0bb1048d4b0b05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef __FLY_GAME_H
#define __FLY_GAME_H

#include "sfcave.h"
#include "flyterrain.h"
#include "player.h"
#include "game.h"
#include "SDL.h"

class FlyGame : public Game
{
public:
	FlyGame( SFCave *p, int w, int h, int diff );
	~FlyGame();

	void init();
	void update( int state );
	void draw( SDL_Surface *screen );

private:

//	int movePlayer;
	bool startScoring;

	bool checkCollisions();
};

#endif