Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef _CAPP_H_
- #define _CAPP_H_
- #include <stdio.h>
- #include <SDL2/SDL.h>
- #include <SDL2/SDL_image.h>
- class CApp
- {
- private:
- bool Running;
- SDL_Window* gameWindow;
- SDL_Renderer* gameRenderer;
- SDL_Surface* testSurface;
- SDL_Texture* testImg;
- SDL_Rect testRect;
- public:
- CApp();
- int OnExecute();
- public:
- bool OnInit();
- void OnEvent(SDL_Event* Event);
- void OnLoop();
- void OnRender();
- void OnCleanup();
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement