правки

This commit is contained in:
Казначеева Елизавета 2023-12-06 10:10:31 +04:00
parent f6b058b912
commit c8a60fa26f
2 changed files with 0 additions and 12 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;
}
} }
} }