GetTarget() public static method

public static GetTarget ( System.Vector3 fromPosition ) : AIHeroClient
fromPosition System.Vector3
return AIHeroClient
Beispiel #1
0
        public static Obj_AI_Base GetCondemnTarget(Vector3 fromPosition)
        {
            switch (Manager.MenuManager.CondemnMode)
            {
            case 0:
                //VH Revolution
                return(Shine.GetTarget(fromPosition));

            case 1:
                //VH Reborn
                return(VHReborn.GetTarget(fromPosition));

            case 2:
                //Marksman / Gosu
                return(Marksman.GetTarget(fromPosition));

            case 3:
                //Shine#
                return(VHRevolution.GetTarget(fromPosition));
            }
            return(null);
        }