Guest User

Untitled

a guest
Jul 20th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #ifndef HEALTHBAR_HPP
  2. #define HEALTHBAR_HPP
  3.  
  4. #include "observer.hpp"
  5. #include <iostream>
  6.  
  7. class healthbar : public observer
  8. {
  9. public:
  10. virtual ~healthbar() = default;
  11.  
  12. template<typename... Args>
  13. void update(Args... args)
  14. {
  15. (std::cout << ... << args);
  16. std::cout << '\n';
  17. }
  18. private:
  19.  
  20. };
  21.  
  22. #endif
Add Comment
Please, Sign In to add comment