🚧🧑‍💻 Put Value at abstract level, leave IDs for later

pull/54/head
Alexis Drai 2 years ago
parent 0e665493cf
commit 20b57ce31b

@ -8,6 +8,14 @@ namespace Model
{
public abstract class AbstractDieFace
{
public string ID { get; set; }
/// <summary>
/// every die face has a value, and they can all be represented by an int,
/// even if they're not litterally a decimal number
/// <br/>
/// USE GetPracticalValue for a Value specific to face type
/// </summary>
protected abstract int Value { get; }
public abstract object GetPracticalValue();
}
}

Loading…
Cancel
Save