private void When(PlayerScoreUpdated e)
		{
			_shots[e.ShotNumber] = e.Points;
		}
예제 #2
0
		private void When(PlayerScoreUpdated e)
		{
			var old = _shots.Single(x => x.PlayerName.Equals(e.PlayerName) && x.ShotNumber == e.ShotNumber);
			_shots.Remove(old);

			_shots.Add(new Shot(e.PlayerName, e.ShotNumber, e.Points));
		}