using OxyPlot; using System.Collections.Generic; using System.Windows.Input; namespace Dominion.NET_WPF.ViewModel { public class MainViewModel : ViewModelBase { private Settings _Settings = null; private string _ChartTitle = "Points?"; private IList _Player1Points = new List(); private IList _Player2Points = new List(); private PlotModel _GameEndModel = new PlotModel { }; private ModifierKeys _KeysPressed = ModifierKeys.None; public Settings Settings { get => _Settings; set { _Settings = value; NotifyPropertyChanged(); } } public IList Player1Points { get => _Player1Points; set { _Player1Points = value; NotifyPropertyChanged(); } } public IList Player2Points { get => _Player2Points; set { _Player2Points = value; NotifyPropertyChanged(); } } public string ChartTitle { get => _ChartTitle; set { _ChartTitle = value; NotifyPropertyChanged(); } } public PlotModel GameEndModel { get => _GameEndModel; set { _GameEndModel = value; NotifyPropertyChanged(); } } public ModifierKeys KeysPressed { get => _KeysPressed; set { _KeysPressed = value; NotifyPropertyChanged(); } } public MainViewModel() { ChartTitle = "Points!"; } } }