From 38813d01ccb4b3de8c58d6d48dba7e908997361d Mon Sep 17 00:00:00 2001 From: bulatova_karina Date: Tue, 5 Dec 2023 20:58:52 +0300 Subject: [PATCH] fix 5 --- WarmlyShip/WarmlyShip/EntityWarmlyShip.cs | 4 ++++ WarmlyShip/WarmlyShip/EntityWarmlyShipWithPipes.cs | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/WarmlyShip/WarmlyShip/EntityWarmlyShip.cs b/WarmlyShip/WarmlyShip/EntityWarmlyShip.cs index f929583..8f194c4 100644 --- a/WarmlyShip/WarmlyShip/EntityWarmlyShip.cs +++ b/WarmlyShip/WarmlyShip/EntityWarmlyShip.cs @@ -18,5 +18,9 @@ namespace WarmlyShip.Entities Weight = weight; BodyColor = bodyColor; } + public void setBodyColor(Color color) + { + BodyColor = color; + } } } diff --git a/WarmlyShip/WarmlyShip/EntityWarmlyShipWithPipes.cs b/WarmlyShip/WarmlyShip/EntityWarmlyShipWithPipes.cs index 0de748f..9272e7a 100644 --- a/WarmlyShip/WarmlyShip/EntityWarmlyShipWithPipes.cs +++ b/WarmlyShip/WarmlyShip/EntityWarmlyShipWithPipes.cs @@ -19,5 +19,9 @@ namespace WarmlyShip.Entities Pipes = pipes; Section = section; } + public void setAdditionalColor(Color color) + { + AdditionalColor = color; + } } }