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.
Dice_App/Sources/MaSoluction/Data/Stub.cs

34 lines
566 B

using Model;
namespace Data
{
public class Stub : IDataManager
{
private List<Die> listDice = new List<Die>();
public void AddDice(Die addD)
{
listDice.Add(addD);
}
public void clear()
{
listDice.Clear();
}
public List<Die> GetDices()
{
return listDice;
}
public void RemoveDice(Die removeD)
{
listDice.Remove(removeD);
}
}
}