Add new Views system

This commit is contained in:
Marvin Rohrbach
2018-12-16 11:47:26 +01:00
parent 624f6d1ea6
commit 35e3010a33
9 changed files with 338 additions and 191 deletions

15
CoopSweeper/View/IView.cs Normal file
View 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);
}
}