Внёс правки

This commit is contained in:
BoiledMilk123 2024-04-07 15:18:20 +04:00
parent 440eb9b3c9
commit 3f11f1c9b8

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;