From 6755dd03a1b325b352d377533014cc0d8f65a6c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20LAVERGNE?= Date: Mon, 3 Jun 2024 21:56:09 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9E=96=20Retrait=20de=20la=20variable=20priv?= =?UTF-8?q?=C3=A9e=20et=20de=20l'interface=20INotifyPropertyChanged,=20inu?= =?UTF-8?q?tile=20ici?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/Trek-12/Models/Game/OperationCell.cs | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/source/Trek-12/Models/Game/OperationCell.cs b/source/Trek-12/Models/Game/OperationCell.cs index 459f325..25ebbb1 100644 --- a/source/Trek-12/Models/Game/OperationCell.cs +++ b/source/Trek-12/Models/Game/OperationCell.cs @@ -7,20 +7,10 @@ namespace Models.Game /// public class OperationCell : Position { - - private bool isChecked; /// /// It tells if the operation is checked or not in the operation grid of the game. /// - public bool IsChecked - { - get => isChecked; - private set - { - isChecked = value; - OnPropertyChanged(nameof(IsChecked)); - } - } + public bool IsChecked { get; private set; } /// /// Constructor of the OperationCell class.