From 76e61d68bbf568ec0d7fc4632e52d4de5496b003 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Fri, 18 Oct 2024 15:43:25 +0200 Subject: (1/2) rename --- ViewController.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'ViewController.cpp') 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: { -- cgit v1.2.3