aboutsummaryrefslogtreecommitdiff
path: root/ViewController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ViewController.cpp')
-rw-r--r--ViewController.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/ViewController.cpp b/ViewController.cpp
index f5c4e1e..a37c49a 100644
--- a/ViewController.cpp
+++ b/ViewController.cpp
@@ -1,11 +1,11 @@
#include "ViewController.h"
-#include "ArtistVisibilityCommand.h"
+#include "ToggleArtistVisibilityCommand.h"
#include "Exception.h"
#include "KeyboardCode.h"
#include "MouseCode.h"
-#include "MuseumPauseCommand.h"
+#include "ToggleMuseumPauseCommand.h"
#include "OpenFileGUICommand.h"
-#include "TileDecayCommand.h"
+#include "StepTileCommand.h"
#include "TimeTravelCommand.h"
#include "View.h"
#include "Museum.h"
@@ -71,11 +71,11 @@ void ViewController::ev_keydown(KeyboardCode key) {
try {
switch (key) {
case KEY_SPACE: {
- MuseumPauseCommand(this->cmd_base).toggle();
+ ToggleMuseumPauseCommand(this->cmd_base).toggle();
break;
}
case KEY_ENTER: {
- TileDecayCommand(this->cmd_base).execute(get<0>(this->mouse_pos), get<1>(this->mouse_pos));
+ StepTileCommand(this->cmd_base).execute(get<0>(this->mouse_pos), get<1>(this->mouse_pos));
break;
}
case KEY_O: {
@@ -83,7 +83,7 @@ void ViewController::ev_keydown(KeyboardCode key) {
break;
}
case KEY_A: {
- ArtistVisibilityCommand(this->cmd_base).toggle();
+ ToggleArtistVisibilityCommand(this->cmd_base).toggle();
break;
}
case KEY_LEFT: {