Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef GAME_H
- #define GAME_H
- #include "Player.h"
- #include "SDL/SDL.h"
- #include "SDL/SDL_image.h"
- using namespace std;
- const int Screen_Width = 640;
- const int Screen_Height = 480;
- const int BPP = 32;
- const int FPS = 20;
- SDL_Surface* screen = NULL;
- SDL_Event event;
- class Game {
- public:
- Game();
- ~Game();
- void run();
- bool init(); //initierar meny och start av spelet
- /* void handle_input(); //sköter tangentbordet*/
- bool load_files();
- void update_on_screen();
- void load_game();
- void clean_up();
- SDL_Surface* load_image(std::string);
- Player player;
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement