29 lines
771 B
C#
29 lines
771 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace CoopSweeper.View
|
|
{
|
|
public class MenuBarView : IView
|
|
{
|
|
public Position Position { get; set; }
|
|
|
|
public void Draw(bool fullRedraw)
|
|
{
|
|
Console.SetCursorPosition(Position.X, Position.Y);
|
|
Console.Write(" ");
|
|
Console.BackgroundColor = ConsoleColor.Gray;
|
|
Console.ForegroundColor = ConsoleColor.Black;
|
|
Console.Write("Configure Restart Exit");
|
|
Console.ForegroundColor = ConsoleColor.Gray;
|
|
Console.BackgroundColor = ConsoleColor.Black;
|
|
Console.Write(" ");
|
|
}
|
|
|
|
public bool HandleKeyEvent(ConsoleKey key)
|
|
{
|
|
return false;
|
|
}
|
|
}
|
|
}
|