summaryrefslogtreecommitdiff
path: root/noncore/games/sfcave-sdl/fly_game.h
Side-by-side diff
Diffstat (limited to 'noncore/games/sfcave-sdl/fly_game.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/sfcave-sdl/fly_game.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/noncore/games/sfcave-sdl/fly_game.h b/noncore/games/sfcave-sdl/fly_game.h
new file mode 100644
index 0000000..1ab081a
--- a/dev/null
+++ b/noncore/games/sfcave-sdl/fly_game.h
@@ -0,0 +1,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