private void CalculatePlayersScore(List <List <Cell> > cells) { ScoresCalculated?.Invoke(Game.CalculatePlayersScore(_firstPlayerColor, cells), Game.CalculatePlayersScore(_secondPlayerColor, cells)); }
public void CalculatePlayersScore() { ScoresCalculated?.Invoke(field.CountCells(firstPlayerColor), field.CountCells(secondPlayerColor)); }
public void CalculatePlayersScore(List <List <Point> > points) { ScoresCalculated?.Invoke(BoardHandler.CountPoints(firstPlayerColor, points), BoardHandler.CountPoints(secondPlayerColor, points)); }