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;