Exemple #1
0
Fichier : Map.cs Projet : Pircs/Yi
        public IEnumerable <Vector2> Path(Vector2 start, Vector2 end)
        {
            var args = new PathingMaster(this, start.ToPostion(), end.ToPostion());

            return(JpsAgent.FindPath(args));
        }
Exemple #2
0
Fichier : Map.cs Projet : Pircs/Yi
        public void Path(YiObj obj, int x = 409, int y = 355, int tox = 356, int toy = 356)
        {
            var args = new PathingMaster(this, new Position(obj.Location.X, obj.Location.Y), new Position(tox, toy));

            JpsAgent.FindPath(args);
        }