diff --git a/Sailboat/Sailboat/EntityBoat.cs b/Sailboat/Sailboat/EntityBoat.cs index 8db9e23..8797f39 100644 --- a/Sailboat/Sailboat/EntityBoat.cs +++ b/Sailboat/Sailboat/EntityBoat.cs @@ -11,6 +11,7 @@ namespace Sailboat.Entities public int Speed { get; private set; } public double Weight { get; private set; } public Color BodyColor { get; set; } + public void setBodyColor(Color color) { BodyColor = color; } public double Step => (double)Speed * 100 / Weight; public EntityBoat(int speed, double weight, Color bodyColor) {