#ifndef APP_H #define APP_H #include #include "states.h" #include "resourceManager.h" #include "resourceIds.h" class App { static const sf::Time TIME_PER_FRAME; private: TextureFontManager textureFonts_; TextureManager textures_; sf::RenderWindow window_; StateStack stateStack_; void processInput(); void render(); void update(sf::Time dt); void registerStates(); public: App(); void run(); }; #endif // APP_H