aboutsummaryrefslogtreecommitdiff
path: root/MuseumPauseCommand.cpp
blob: e3d85564e76f53646750a3d079393869cbe19cff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "MuseumPauseCommand.h"
#include "Museum.h"

void MuseumPauseCommand::set(bool paused) {
	Museum & museum = this->get_museum();
	museum.set_pause(paused);
}

void MuseumPauseCommand::toggle() {
	Museum & museum = this->get_museum();
	museum.set_pause(!museum.get_pause());
}