Files
Csharp-eindproject/Client/Models/Model.cs
2020-10-20 19:26:11 +02:00

57 lines
999 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace Client
{
class Model : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
private int _numbers;
private bool _status;
private bool _canStartGame;
//Test code
public int Numbers
{
get { return _numbers; }
set
{
_numbers = value;
}
}
public bool Status
{
get
{
return _status;
}
set
{
_status = value;
}
}
public bool CanStartGame
{
get { return _canStartGame; }
set { _canStartGame = value; }
}
public Model()
{
_status = false;
_numbers = 0;
_canStartGame = true;
}
}
}