Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#48: MonsterBox Options open and close #56

Merged
merged 11 commits into from
Jul 16, 2022
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 @@ ConsoleKey.LeftArrow or ConsoleKey.A or
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