Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef HEALTHBAR_HPP
- #define HEALTHBAR_HPP
- #include "observer.hpp"
- #include <iostream>
- class healthbar : public observer
- {
- public:
- virtual ~healthbar() = default;
- template<typename... Args>
- void update(Args... args)
- {
- (std::cout << ... << args);
- std::cout << '\n';
- }
- private:
- };
- #endif
Add Comment
Please, Sign In to add comment