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;