Esempio n. 1
0
        //will need to impliment all shortcuts here
        public static void logicRunToCamp()
        {
            jungler.doWhileRunningIdlin();

            if (!jungler.canMove())
            {
                jcState = JungleCleanState.SearchingBestCamp;
                return;
            }

            if (!HypaJungle.player.IsMoving || HypaJungle.player.Path.Count() == 0 ||
                HypaJungle.player.Path.Last().Distance(focusedCamp.Position) > 50)
            {
                HypaJungle.player.IssueOrder(GameObjectOrder.MoveTo, focusedCamp.Position);
            }
        }