Add new Views system
This commit is contained in:
15
CoopSweeper/View/IView.cs
Normal file
15
CoopSweeper/View/IView.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace CoopSweeper.View
|
||||
{
|
||||
public interface IView
|
||||
{
|
||||
bool HandleKeyEvent(ConsoleKey key);
|
||||
|
||||
Position Position { get; set; }
|
||||
|
||||
void Draw(bool fullRedraw);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user