Retrait de l'implémentation de l'interface de changement de propriété

pull/97/head
Rémi LAVERGNE 11 months ago
parent 312067c84f
commit a71a65ed1b
No known key found for this signature in database
GPG Key ID: 7BCBAE9031E39160

@ -7,7 +7,7 @@ namespace Models.Game
/// <summary> /// <summary>
/// The Position (x,y) of a cell in the game. /// The Position (x,y) of a cell in the game.
/// </summary> /// </summary>
public class Position : INotifyPropertyChanged public class Position
{ {
/// <summary> /// <summary>
/// The X coordinate. /// The X coordinate.
@ -29,19 +29,5 @@ namespace Models.Game
X = x; X = x;
Y = y; Y = y;
} }
/// <summary>
/// Event raised when a property is changed to notify the view.
/// </summary>
public event PropertyChangedEventHandler PropertyChanged;
/// <summary>
/// Trigger the PropertyChanged event for a specific property.
/// </summary>
/// <param name="propertyName">Name of the property that changed.</param>
protected virtual void OnPropertyChanged(string propertyName)
{
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
} }
} }
Loading…
Cancel
Save