#include "ToggleMuseumPauseCommand.h" #include "Museum.h" void ToggleMuseumPauseCommand::set(bool paused) { Museum & museum = this->get_museum(); museum.set_pause(paused); } void ToggleMuseumPauseCommand::toggle() { Museum & museum = this->get_museum(); museum.set_pause(!museum.get_pause()); }