Пример #1
0
 private void CalculatePlayersScore(List <List <Cell> > cells)
 {
     ScoresCalculated?.Invoke(Game.CalculatePlayersScore(_firstPlayerColor, cells), Game.CalculatePlayersScore(_secondPlayerColor, cells));
 }
Пример #2
0
 public void CalculatePlayersScore()
 {
     ScoresCalculated?.Invoke(field.CountCells(firstPlayerColor), field.CountCells(secondPlayerColor));
 }
Пример #3
0
 public void CalculatePlayersScore(List <List <Point> > points)
 {
     ScoresCalculated?.Invoke(BoardHandler.CountPoints(firstPlayerColor, points), BoardHandler.CountPoints(secondPlayerColor, points));
 }