From f4343ce1258f9b35e5c7d83c30d82f1672c08533 Mon Sep 17 00:00:00 2001 From: Pavel_Sorokin Date: Thu, 3 Nov 2022 14:32:17 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9B=D0=B8=D1=88=D0=BD=D0=B8=D0=B5=20=D0=BF?= =?UTF-8?q?=D1=80=D0=BE=D0=B1=D0=B5=D0=BB=D1=8B=20=D1=83=D0=B1=D1=80=D0=B0?= =?UTF-8?q?=D0=BD=D1=8B.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Liner/Liner/DrawingLiner.cs | 1 - Liner/Liner/DrawingShip.cs | 1 - 2 files changed, 2 deletions(-) diff --git a/Liner/Liner/DrawingLiner.cs b/Liner/Liner/DrawingLiner.cs index 9ae0a3f..0d99201 100644 --- a/Liner/Liner/DrawingLiner.cs +++ b/Liner/Liner/DrawingLiner.cs @@ -13,7 +13,6 @@ namespace Liner { Ship = new EntityLiner(speed, weight, bodyColor, dopColor, dopDeck, pool); } - public override void DrawTransport(Graphics g) { if (Ship is not EntityLiner liner) diff --git a/Liner/Liner/DrawingShip.cs b/Liner/Liner/DrawingShip.cs index 427c1ac..6a68c2a 100644 --- a/Liner/Liner/DrawingShip.cs +++ b/Liner/Liner/DrawingShip.cs @@ -25,7 +25,6 @@ namespace Liner _ShipWidth = shipWidth; _ShipHeight = shipHeight; } - public void SetPosition(int x, int y, int width, int height) { if (width <= _ShipWidth + x || height <= _ShipHeight + y || x<0 || y<0)