blob: 57176af3c899583fc8f1f8bf58602db8ee9e5d6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#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());
}
|