From 24690ab62bca076bdb09f561e377b156da4bcfde Mon Sep 17 00:00:00 2001 From: ValAnn Date: Tue, 10 Oct 2023 22:49:25 +0400 Subject: [PATCH] start --- DumpTruck/DumpTruck/{ => DrawningObjects}/DrawingDumpCar.cs | 0 DumpTruck/DumpTruck/{ => DrawningObjects}/DrawningCar.cs | 0 DumpTruck/DumpTruck/{ => Entities}/EntityCar.cs | 0 DumpTruck/DumpTruck/{ => Entities}/EntityDumpTruck.cs | 0 DumpTruck/DumpTruck/{ => MovementStrategy}/AbstractStrategy.cs | 3 +-- .../DumpTruck/{ => MovementStrategy}/DrawningObjectCar.cs | 1 - DumpTruck/DumpTruck/{ => MovementStrategy}/IMoveableObject.cs | 3 +-- DumpTruck/DumpTruck/{ => MovementStrategy}/MoveToBorder.cs | 0 DumpTruck/DumpTruck/{ => MovementStrategy}/MoveToCenter.cs | 0 DumpTruck/DumpTruck/{ => MovementStrategy}/ObjectParameters.cs | 0 DumpTruck/DumpTruck/{ => MovementStrategy}/Status.cs | 0 11 files changed, 2 insertions(+), 5 deletions(-) rename DumpTruck/DumpTruck/{ => DrawningObjects}/DrawingDumpCar.cs (100%) rename DumpTruck/DumpTruck/{ => DrawningObjects}/DrawningCar.cs (100%) rename DumpTruck/DumpTruck/{ => Entities}/EntityCar.cs (100%) rename DumpTruck/DumpTruck/{ => Entities}/EntityDumpTruck.cs (100%) rename DumpTruck/DumpTruck/{ => MovementStrategy}/AbstractStrategy.cs (98%) rename DumpTruck/DumpTruck/{ => MovementStrategy}/DrawningObjectCar.cs (97%) rename DumpTruck/DumpTruck/{ => MovementStrategy}/IMoveableObject.cs (94%) rename DumpTruck/DumpTruck/{ => MovementStrategy}/MoveToBorder.cs (100%) rename DumpTruck/DumpTruck/{ => MovementStrategy}/MoveToCenter.cs (100%) rename DumpTruck/DumpTruck/{ => MovementStrategy}/ObjectParameters.cs (100%) rename DumpTruck/DumpTruck/{ => MovementStrategy}/Status.cs (100%) diff --git a/DumpTruck/DumpTruck/DrawingDumpCar.cs b/DumpTruck/DumpTruck/DrawningObjects/DrawingDumpCar.cs similarity index 100% rename from DumpTruck/DumpTruck/DrawingDumpCar.cs rename to DumpTruck/DumpTruck/DrawningObjects/DrawingDumpCar.cs diff --git a/DumpTruck/DumpTruck/DrawningCar.cs b/DumpTruck/DumpTruck/DrawningObjects/DrawningCar.cs similarity index 100% rename from DumpTruck/DumpTruck/DrawningCar.cs rename to DumpTruck/DumpTruck/DrawningObjects/DrawningCar.cs diff --git a/DumpTruck/DumpTruck/EntityCar.cs b/DumpTruck/DumpTruck/Entities/EntityCar.cs similarity index 100% rename from DumpTruck/DumpTruck/EntityCar.cs rename to DumpTruck/DumpTruck/Entities/EntityCar.cs diff --git a/DumpTruck/DumpTruck/EntityDumpTruck.cs b/DumpTruck/DumpTruck/Entities/EntityDumpTruck.cs similarity index 100% rename from DumpTruck/DumpTruck/EntityDumpTruck.cs rename to DumpTruck/DumpTruck/Entities/EntityDumpTruck.cs diff --git a/DumpTruck/DumpTruck/AbstractStrategy.cs b/DumpTruck/DumpTruck/MovementStrategy/AbstractStrategy.cs similarity index 98% rename from DumpTruck/DumpTruck/AbstractStrategy.cs rename to DumpTruck/DumpTruck/MovementStrategy/AbstractStrategy.cs index b5c3a28..c26e754 100644 --- a/DumpTruck/DumpTruck/AbstractStrategy.cs +++ b/DumpTruck/DumpTruck/MovementStrategy/AbstractStrategy.cs @@ -1,5 +1,4 @@ -using DumpTruckr.MovementStrategy; -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/DumpTruck/DumpTruck/DrawningObjectCar.cs b/DumpTruck/DumpTruck/MovementStrategy/DrawningObjectCar.cs similarity index 97% rename from DumpTruck/DumpTruck/DrawningObjectCar.cs rename to DumpTruck/DumpTruck/MovementStrategy/DrawningObjectCar.cs index 4031487..efbdb64 100644 --- a/DumpTruck/DumpTruck/DrawningObjectCar.cs +++ b/DumpTruck/DumpTruck/MovementStrategy/DrawningObjectCar.cs @@ -4,7 +4,6 @@ using System.Linq; using System.Text; using System.Threading.Tasks; using DumpTruck.DrawningObjects; -using DumpTruckr.MovementStrategy; namespace DumpTruck.MovementStrategy { diff --git a/DumpTruck/DumpTruck/IMoveableObject.cs b/DumpTruck/DumpTruck/MovementStrategy/IMoveableObject.cs similarity index 94% rename from DumpTruck/DumpTruck/IMoveableObject.cs rename to DumpTruck/DumpTruck/MovementStrategy/IMoveableObject.cs index d66a441..0770567 100644 --- a/DumpTruck/DumpTruck/IMoveableObject.cs +++ b/DumpTruck/DumpTruck/MovementStrategy/IMoveableObject.cs @@ -4,9 +4,8 @@ using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; -using DumpTruck.MovementStrategy; -namespace DumpTruckr.MovementStrategy +namespace DumpTruck.MovementStrategy { /// /// Интерфейс для работы с перемещаемым объектом diff --git a/DumpTruck/DumpTruck/MoveToBorder.cs b/DumpTruck/DumpTruck/MovementStrategy/MoveToBorder.cs similarity index 100% rename from DumpTruck/DumpTruck/MoveToBorder.cs rename to DumpTruck/DumpTruck/MovementStrategy/MoveToBorder.cs diff --git a/DumpTruck/DumpTruck/MoveToCenter.cs b/DumpTruck/DumpTruck/MovementStrategy/MoveToCenter.cs similarity index 100% rename from DumpTruck/DumpTruck/MoveToCenter.cs rename to DumpTruck/DumpTruck/MovementStrategy/MoveToCenter.cs diff --git a/DumpTruck/DumpTruck/ObjectParameters.cs b/DumpTruck/DumpTruck/MovementStrategy/ObjectParameters.cs similarity index 100% rename from DumpTruck/DumpTruck/ObjectParameters.cs rename to DumpTruck/DumpTruck/MovementStrategy/ObjectParameters.cs diff --git a/DumpTruck/DumpTruck/Status.cs b/DumpTruck/DumpTruck/MovementStrategy/Status.cs similarity index 100% rename from DumpTruck/DumpTruck/Status.cs rename to DumpTruck/DumpTruck/MovementStrategy/Status.cs