public override void Enter(Undertaker undertaker) { path = pathFinder.FindPath(undertaker.CurrentPosition, targetPosition); Printer.Print(undertaker.Id, "Walkin' to " + LocationProperties.ToString(LocationProperties.GetLocation(targetPosition)) + "."); }
public override void Enter(Sheriff sheriff) { path = pathFinder.FindPath(sheriff.CurrentPosition, targetPosition); Printer.Print(sheriff.Id, "Walkin' to " + LocationProperties.ToString(LocationProperties.GetLocation(targetPosition)) + "."); }
public override void Enter(Outlaw outlaw) { path = pathFinder.FindPath(outlaw.CurrentPosition, targetPosition); Printer.Print(outlaw.Id, "Walkin' to " + LocationProperties.ToString(LocationProperties.GetLocation(targetPosition)) + "."); }