Skip to content

Commit

Permalink
Merge pull request dotnet#56 from Mozin0/console-monsters
Browse files Browse the repository at this point in the history
dotnet#48: MonsterBox Options open and close
  • Loading branch information
ZacharyPatten committed Jul 16, 2022
2 parents 7e13923 + dc9d177 commit 9e8a93e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Projects/Console Monsters/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -201,11 +201,13 @@ static void HandleMapUserInput()
promptText = null;
break;
}
if(character.IsIdle)
{
var (i, j) = character.InteractTile;
map.InteractWithMapTile(i, j);
break;
}
break;

case ConsoleKey.Escape:
StartScreen.StartMenu();
return;
Expand Down
1 change: 0 additions & 1 deletion Projects/Console Monsters/Screens/Menus/OptionsScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ public static class OptionsScreen
public static void OptionsMenu()
{
StringBuilder sb = new();

int arrowOption = 1;
const int maxOption = 6;

Expand Down

0 comments on commit 9e8a93e

Please sign in to comment.