public Memento(int question, int category, List<PlayerViewModel> players, PlayerViewModel activePlayer) { this.question = question; this.category = category; this.players = players; this.activePlayer = activePlayer; }
public void IncreaseScore(PlayerViewModel player) { player.Score += CurrentQuestion; Next(); }
public void DecreaseScore(PlayerViewModel player) { player.Score -= CurrentQuestion; if (this.players.All(p => p.State == false)) Next(); }