//Okay, someone please explain to me why we have the setter above and the set function below? (V)_V internal void SetFaceUp(bool lFaceUp) { if (_faceUp == lFaceUp) { return; } _faceUp = lFaceUp; OnPropertyChanged("FaceUp"); if (lFaceUp) { PeekingPlayers.Clear(); } }
//Okay, someone please explain to me why we have the setter above and the set function below? (V)_V internal void SetFaceUp(bool lFaceUp) { if (_faceUp == lFaceUp) { return; } _faceUp = lFaceUp; OnPropertyChanged("FaceUp"); OnPropertyChanged("RealWidth"); OnPropertyChanged("RealHeight"); OnPropertyChanged("RealCornerRadius"); if (lFaceUp) { PeekingPlayers.Clear(); } }