Ajout de l'héritage pour la classe Cell

pull/34/head
Rémi LAVERGNE 1 year ago
parent abd0c5fdba
commit 49a260c487
No known key found for this signature in database
GPG Key ID: CA264B55E97FD220

@ -1,8 +1,22 @@
namespace Models;
public class Cell
public class Cell : Position
{
private double x;
private double y;
private string back;
private int value;
public int Value
{
get => value;
set => value = value;
}
private string background;
public string Background
{
get => background;
set => background = value;
}
public Cell(int x, int y) : base(x, y)
{
}
}
Loading…
Cancel
Save