added some base types

This commit is contained in:
Tim Wundenberg
2018-05-25 09:31:09 +02:00
parent d8092e8c2d
commit 9781acbe5f
5 changed files with 56 additions and 0 deletions

View File

@@ -5,4 +5,8 @@
<TargetFramework>netcoreapp2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Folder Include="View\" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace CoopSweeper.GameTypes
{
class Field : IField
{
public bool ContainsBomb { get; set; }
public FieldState State { get; set;}
}
}

View File

@@ -0,0 +1,10 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace CoopSweeper.GameTypes
{
class Game
{
}
}

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace CoopSweeper.GameTypes
{
enum FieldState
{
NONE,
REVEALED,
QUESTIONMARK,
FLAG
}
public interface IField
{
}
}

View File

@@ -0,0 +1,10 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace CoopSweeper.GameTypes
{
interface IGame
{
}
}