Внёс правки в код

This commit is contained in:
BoiledMilk123 2024-04-07 15:18:05 +04:00
parent 8bf8eab70b
commit 440eb9b3c9

View File

@ -17,7 +17,7 @@ public class MoveToBorder : AbstractStrategy
} }
return objParams.RightBorder + GetStep() >= FieldWidth && objParams.DownBorder + GetStep() >= FieldHeight; return objParams.RightBorder + GetStep() >= FieldWidth && objParams.DownBorder + GetStep() >= FieldHeight;
} }
//;
protected override void MoveToTarget() protected override void MoveToTarget()
{ {
ObjectParameters? objParams = GetObjectParameters; ObjectParameters? objParams = GetObjectParameters;