From 46232fbd364e338e0e3f27cac2ee82e9f215fa46 Mon Sep 17 00:00:00 2001 From: Aleksandr4350 Date: Tue, 2 Apr 2024 19:42:39 +0400 Subject: [PATCH] Lab2 1 --- ProjectSportCar/ProjectSportCar/Drawnings/DrawningAiroplane.cs | 2 -- ProjectSportCar/ProjectSportCar/Entities/Entityplane.cs | 2 -- .../ProjectSportCar/MovementStrategy/AbstractStrategy.cs | 1 - .../ProjectSportCar/MovementStrategy/Moveableplane.cs | 1 - .../ProjectSportCar/MovementStrategy/ObjectParameters.cs | 1 - 5 files changed, 7 deletions(-) diff --git a/ProjectSportCar/ProjectSportCar/Drawnings/DrawningAiroplane.cs b/ProjectSportCar/ProjectSportCar/Drawnings/DrawningAiroplane.cs index 49c9015..c12c8e2 100644 --- a/ProjectSportCar/ProjectSportCar/Drawnings/DrawningAiroplane.cs +++ b/ProjectSportCar/ProjectSportCar/Drawnings/DrawningAiroplane.cs @@ -52,7 +52,5 @@ public class DrawningAiroplane : Drawningplane _startPosX -= 10; _startPosY -= 5; } - - } diff --git a/ProjectSportCar/ProjectSportCar/Entities/Entityplane.cs b/ProjectSportCar/ProjectSportCar/Entities/Entityplane.cs index 8dc6a33..1e9e97c 100644 --- a/ProjectSportCar/ProjectSportCar/Entities/Entityplane.cs +++ b/ProjectSportCar/ProjectSportCar/Entities/Entityplane.cs @@ -24,7 +24,6 @@ public class Entityplane /// Основной цвет /// public Color BodyColor { get; private set; } - /// /// Шаг перемещения самолета /// @@ -36,7 +35,6 @@ public class Entityplane /// /// - public Entityplane(int speed, double weight, Color bodyColor) { Speed = speed; diff --git a/ProjectSportCar/ProjectSportCar/MovementStrategy/AbstractStrategy.cs b/ProjectSportCar/ProjectSportCar/MovementStrategy/AbstractStrategy.cs index 3e3f83b..e11c11e 100644 --- a/ProjectSportCar/ProjectSportCar/MovementStrategy/AbstractStrategy.cs +++ b/ProjectSportCar/ProjectSportCar/MovementStrategy/AbstractStrategy.cs @@ -58,7 +58,6 @@ public abstract class AbstractStrategy //{ // AbstrMethod(); //} - protected abstract void AbstrMethod(); /// /// Перемещение влево diff --git a/ProjectSportCar/ProjectSportCar/MovementStrategy/Moveableplane.cs b/ProjectSportCar/ProjectSportCar/MovementStrategy/Moveableplane.cs index bba99eb..cbfe372 100644 --- a/ProjectSportCar/ProjectSportCar/MovementStrategy/Moveableplane.cs +++ b/ProjectSportCar/ProjectSportCar/MovementStrategy/Moveableplane.cs @@ -1,6 +1,5 @@ using ProjectAiroplane.Drawnings; - namespace ProjectAiroplane.MovementStrategy; public class Moveableplane : IMoveableObjects diff --git a/ProjectSportCar/ProjectSportCar/MovementStrategy/ObjectParameters.cs b/ProjectSportCar/ProjectSportCar/MovementStrategy/ObjectParameters.cs index e9c1d28..f00ea62 100644 --- a/ProjectSportCar/ProjectSportCar/MovementStrategy/ObjectParameters.cs +++ b/ProjectSportCar/ProjectSportCar/MovementStrategy/ObjectParameters.cs @@ -1,6 +1,5 @@ namespace ProjectAiroplane.MovementStrategy; - public class ObjectParameters { ///