From 42de83a5cd1a137639bff0574cdbf14ed4349d7f Mon Sep 17 00:00:00 2001 From: kaznacheeva Date: Wed, 6 Dec 2023 10:39:41 +0400 Subject: [PATCH] =?UTF-8?q?=D0=BA=D0=BE=D0=BC=D0=B8=D1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Battleship/Battleship/EntityBattleship.cs | 2 +- Battleship/Battleship/EntityShip.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Battleship/Battleship/EntityBattleship.cs b/Battleship/Battleship/EntityBattleship.cs index 6175764..1d144ac 100644 --- a/Battleship/Battleship/EntityBattleship.cs +++ b/Battleship/Battleship/EntityBattleship.cs @@ -10,7 +10,7 @@ namespace Battleship.Entities internal class EntityBattleship: EntityShip { - public Color AdditionalColor { get; set; } + public Color AdditionalColor { get; private set; } /// /// Признак (опция) наличия башни /// diff --git a/Battleship/Battleship/EntityShip.cs b/Battleship/Battleship/EntityShip.cs index ea7eef1..889491c 100644 --- a/Battleship/Battleship/EntityShip.cs +++ b/Battleship/Battleship/EntityShip.cs @@ -19,7 +19,7 @@ namespace Battleship.Entities /// /// Основной цвет /// - public Color BodyColor { get; set; } + public Color BodyColor { get; private set; } /// /// Дополнительный цвет (для опциональных элементов) ///