Guest User

BallManager.hpp

a guest
Mar 23rd, 2016
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. #ifndef MANAGER_HPP
  2. #define MANAGER_HPP
  3.  
  4. #include <iostream>
  5. #include <list>
  6. #include <SFML\Graphics.hpp>
  7.  
  8. #include "Ball.hpp"
  9.  
  10. class BallManager
  11. {
  12. public:
  13.  
  14. BallManager();
  15.  
  16. void insert(Ball *ball);
  17.  
  18. void update(float frametime);
  19. void handle();
  20. void render(sf::RenderWindow *rw);
  21.  
  22. private:
  23. std::list<Ball*> mList;
  24. };
  25.  
  26. #endif
Add Comment
Please, Sign In to add comment