Esempio n. 1
0
        public override void Enter(Undertaker undertaker)
        {
            path = pathFinder.FindPath(undertaker.CurrentPosition, targetPosition);

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

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

            Printer.Print(outlaw.Id, "Walkin' to " + LocationProperties.ToString(LocationProperties.GetLocation(targetPosition)) + ".");
        }