You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
namespace Model.Dice.Faces
|
|
{
|
|
public abstract class Face
|
|
{
|
|
public string StringValue { get; protected set; }
|
|
}
|
|
|
|
public abstract class Face<T> : Face
|
|
{
|
|
public T Value { get; protected set; }
|
|
|
|
protected Face(T value)
|
|
{
|
|
Value = value;
|
|
StringValue = value.ToString();
|
|
}
|
|
}
|
|
}
|