From 440eb9b3c95aa7a3ec185b1a6288f41e142715a6 Mon Sep 17 00:00:00 2001 From: BoiledMilk123 Date: Sun, 7 Apr 2024 15:18:05 +0400 Subject: [PATCH] =?UTF-8?q?=D0=92=D0=BD=D1=91=D1=81=20=D0=BF=D1=80=D0=B0?= =?UTF-8?q?=D0=B2=D0=BA=D0=B8=20=D0=B2=20=D0=BA=D0=BE=D0=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ProjectElectricLocomotive/MovementStrategy/MoveToBorder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProjectElectricLocomotive/ProjectElectricLocomotive/MovementStrategy/MoveToBorder.cs b/ProjectElectricLocomotive/ProjectElectricLocomotive/MovementStrategy/MoveToBorder.cs index d4f70a9..33eaad6 100644 --- a/ProjectElectricLocomotive/ProjectElectricLocomotive/MovementStrategy/MoveToBorder.cs +++ b/ProjectElectricLocomotive/ProjectElectricLocomotive/MovementStrategy/MoveToBorder.cs @@ -17,7 +17,7 @@ public class MoveToBorder : AbstractStrategy } return objParams.RightBorder + GetStep() >= FieldWidth && objParams.DownBorder + GetStep() >= FieldHeight; } - + //; protected override void MoveToTarget() { ObjectParameters? objParams = GetObjectParameters;