правки

This commit is contained in:
Казначеева Елизавета 2023-12-06 10:07:54 +04:00
parent 1c81aec3af
commit 3afc6e4ab6
3 changed files with 1 additions and 13 deletions

View File

@ -48,9 +48,5 @@ namespace Battleship.DrawningObjects
g.DrawRectangle(pen, _startPosX + 75, _startPosY + 70, 40, 10); g.DrawRectangle(pen, _startPosX + 75, _startPosY + 70, 40, 10);
} }
} }
public void SetAddColor(Color color)
{
((EntityBattleship)EntityShip).AdditionalColor = color;
}
} }
} }

View File

@ -224,14 +224,6 @@ namespace Battleship.DrawningObjects
break; break;
} }
} }
public void SetColor(Color color)
{
if (EntityShip == null)
{
return;
}
EntityShip.BodyColor = color;
}
} }
} }

View File

@ -38,7 +38,7 @@ namespace Battleship.Entities
BodyColor = bodyColor; BodyColor = bodyColor;
} }
internal void setBodyColor(Color color) public void setBodyColor(Color color)
{ {
BodyColor = color; BodyColor = color;
} }