Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef MANAGER_HPP
- #define MANAGER_HPP
- #include <iostream>
- #include <list>
- #include <SFML\Graphics.hpp>
- #include "Ball.hpp"
- class BallManager
- {
- public:
- BallManager();
- void insert(Ball *ball);
- void update(float frametime);
- void handle();
- void render(sf::RenderWindow *rw);
- private:
- std::list<Ball*> mList;
- };
- #endif
Add Comment
Please, Sign In to add comment