#ifndef FRAMEWORK_HPP #define FRAMEWORK_HPP #include #include #include #include "Singleton.hpp" using namespace std; #define g_pFramework CFramework::Get() class CFramework : public TSingleton { public: bool Init (int ScreenWidth, int ScreenHeight, int ColorDepth, bool bFullscreen); void Quit (); void Update (); void Clear (); void Flip (); bool KeyDown (int Key_ID); SDL_Surface *GetScreen () {return m_pScreen;} SDL_Surface *m_pScreen; // Surface für den Screen private: Uint8 *m_pKeystate; // Array für aktuellen Tastaturstatus }; #endif