Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef FRAMEWORK_HPP
- #define FRAMEWORK_HPP
- #include <iostream>
- #include <list>
- #include <SFML\Graphics.hpp>
- #include "Ball.hpp"
- #include "CollisionSystem.hpp"
- #include "BallManager.hpp"
- class Framework
- {
- public:
- Framework();
- ~Framework();
- void run();
- private:
- void quit();
- void update(float frametime);
- void handleEvents();
- void render();
- void calculateFrameTime();
- sf::RenderWindow *pRenderWindow;
- sf::Event *pMainEvent;
- sf::Clock *pClock;
- sf::Texture *pBackground;
- sf::Sprite *pSprite;
- BallManager* pManager;
- bool mRun;
- float mFrameTime;
- };
- #endif
Add Comment
Please, Sign In to add comment