diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-18 15:43:25 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-18 15:43:25 +0200 |
commit | 76e61d68bbf568ec0d7fc4632e52d4de5496b003 (patch) | |
tree | 92a2dc9b12a542456bdc154f44deb34925883210 /ViewController.cpp | |
parent | 3f63576819151ff15237a9b4f0651c538cfef067 (diff) |
(1/2) rename
Diffstat (limited to 'ViewController.cpp')
-rw-r--r-- | ViewController.cpp | 12 |
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: { |