public void ClearCandidatesColors() { foreach (var position in Position.Positions) { foreach (var value in Value.All) { _candidateColors[position.X, position.Y, value] = Color.None; } } OnCandidateColorChanged?.Invoke(); }
public void SetCandidateColor(Position position, Value value, Color color) { _candidateColors[position.X, position.Y, value] = color; OnCandidateColorChanged?.Invoke(); }