Esempio n. 1
0
 public SnakeyGameSummaryViewModel()
 {
     _sessionLock      = new object();
     GameModes         = ((GameMode[])Enum.GetValues(typeof(GameMode))).ToList();
     SelectedGameMode  = GameModes.FirstOrDefault();
     PlayerOneGameArgs = new SnakePlayerArgs();
     PlayerTwoGameArgs = new SnakePlayerArgs();
 }