From 3f11f1c9b8fdaf7b76f0c64edd6a8bc945fcda0f Mon Sep 17 00:00:00 2001 From: BoiledMilk123 Date: Sun, 7 Apr 2024 15:18:20 +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?= 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 33eaad6..d4f70a9 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;