diff --git a/source/Trek-12/Models/Cell.cs b/source/Trek-12/Models/Cell.cs index 182876a..8369dc8 100644 --- a/source/Trek-12/Models/Cell.cs +++ b/source/Trek-12/Models/Cell.cs @@ -1,22 +1,16 @@ namespace Models; -public class Cell : Position +public class Cell { + private Position pos; private int value; - public int Value - { - get => value; - set => value = value; - } - + private string type; private string background; - public string Background - { - get => background; - set => background = value; - } - public Cell(int x, int y) : base(x, y) + public Cell(int x, int y) { + pos = new Position(x, y); } + + public string GetCellType() => type; } \ No newline at end of file