From 11912072995f72b5439ba247de3c7b50999c518a Mon Sep 17 00:00:00 2001 From: Anya Date: Thu, 18 Apr 2024 14:28:39 +0400 Subject: [PATCH] lab2finish --- lab_0/MovementStrategy/MoveToBorder.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/lab_0/MovementStrategy/MoveToBorder.cs b/lab_0/MovementStrategy/MoveToBorder.cs index 1a70a48..c273b21 100644 --- a/lab_0/MovementStrategy/MoveToBorder.cs +++ b/lab_0/MovementStrategy/MoveToBorder.cs @@ -21,7 +21,6 @@ public class MoveToBorder : AbstractStrategy objParams.DownBorder - GetStep() <= FieldHeight && objParams.DownBorder + GetStep() >= FieldHeight; } - protected override void MoveToTarget() { ObjectParameters? objParams = GetObjectParameters;