riversong code showcase
This commit is contained in:
19
Source/Riversong/Game/UI/Panels/TimePanel/TimePanelModel.cs
Normal file
19
Source/Riversong/Game/UI/Panels/TimePanel/TimePanelModel.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
namespace DanieleMarotta.RiversongCodeShowcase
|
||||
{
|
||||
public class TimePanelModel : UIModel
|
||||
{
|
||||
public int Week { get; private set; }
|
||||
|
||||
public int Month { get; private set; }
|
||||
|
||||
public int Year { get; private set; }
|
||||
|
||||
public void Update(int week, int month, int year)
|
||||
{
|
||||
Week = week;
|
||||
Month = month;
|
||||
Year = year;
|
||||
NotifyPropertyChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user