initial commit with first really early version

This commit is contained in:
2022-10-06 09:09:25 +02:00
commit 289747f0e4
18 changed files with 1270 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
namespace NonoGramme
{
internal class Tile
{
/*
* Empty means a tile that is empty
* Full is an empty tile wich the user has colored
* Undiscovered is a tile wich is secretely a good one
* Discovered is a good tile that the user has colored
*/
public enum State
{
Empty,
Full,
Undiscovered,
Discovered
}
private State _currentState;
public State CurrentState { get => _currentState; set => _currentState = value; }
public Tile(State currentState)
{
CurrentState = currentState;
}
public Tile():this(State.Empty)
{
//Empty, just here to let people create default tiles
}
}
}