Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "Mediator.h"
- Mediator::Mediator() : lev(nullptr)
- {
- }
- void Mediator::AddColeague(LevelGUI* lGUI)
- {
- lev = lGUI;
- //lguiVec.push_back(lGUI);
- }
- void Mediator::queueMessage(std::string& mes)
- {
- lev->BeNotified(mes);
- /*for (auto& it : lguiVec)
- {
- it->BeNotified(mes);
- }*/
- }
- Mediator::~Mediator()
- {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement