示例#1
0
        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();
        }
示例#2
0
 public void SetCandidateColor(Position position, Value value, Color color)
 {
     _candidateColors[position.X, position.Y, value] = color;
     OnCandidateColorChanged?.Invoke();
 }