00001 #ifndef __FLY_GAME_H 00002 #define __FLY_GAME_H 00003 00004 #include "sfcave.h" 00005 #include "flyterrain.h" 00006 #include "player.h" 00007 #include "game.h" 00008 #include <SDL/SDL.h> 00009 00010 class FlyGame : public Game 00011 { 00012 public: 00013 FlyGame( SFCave *p, int w, int h, int diff ); 00014 ~FlyGame(); 00015 00016 void init(); 00017 void update( int state ); 00018 void draw( SDL_Surface *screen ); 00019 00020 private: 00021 00022 // int movePlayer; 00023 bool startScoring; 00024 00025 bool checkCollisions(); 00026 }; 00027 00028 #endif
1.4.2