blob: f648deb1dbf3f368fef8bbc34a68a6066f4d15a1 (
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/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
|