From a71a65ed1b5c6523e6c6f869528b92d7a575be11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20LAVERGNE?= Date: Mon, 3 Jun 2024 22:01:37 +0200 Subject: [PATCH] =?UTF-8?q?Retrait=20de=20l'impl=C3=A9mentation=20de=20l'i?= =?UTF-8?q?nterface=20de=20changement=20de=20propri=C3=A9t=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/Trek-12/Models/Game/Position.cs | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/source/Trek-12/Models/Game/Position.cs b/source/Trek-12/Models/Game/Position.cs index d34ece5..980e80c 100644 --- a/source/Trek-12/Models/Game/Position.cs +++ b/source/Trek-12/Models/Game/Position.cs @@ -7,7 +7,7 @@ namespace Models.Game /// /// The Position (x,y) of a cell in the game. /// - public class Position : INotifyPropertyChanged + public class Position { /// /// The X coordinate. @@ -29,19 +29,5 @@ namespace Models.Game X = x; Y = y; } - - /// - /// Event raised when a property is changed to notify the view. - /// - public event PropertyChangedEventHandler PropertyChanged; - - /// - /// Trigger the PropertyChanged event for a specific property. - /// - /// Name of the property that changed. - protected virtual void OnPropertyChanged(string propertyName) - { - PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); - } } } \ No newline at end of file