Position[] path = {
new Position(3225, 3219, 0),
new Position(3233, 3218, 0),
new Position(3235, 3223, 0),
new Position(3232, 3227, 0),
new Position(3227, 3232, 0),
new Position(3223, 3239, 0),
new Position(3220, 3246, 0),
new Position(3217, 3255, 0),
new Position(3215, 3260, 0),
new Position(3214, 3270, 0),
new Position(3214, 3270, 0)
};
getWalking().walkPath(path);
gives me the error: "The method walkPath(List<Position>) in the type Walking is not applicable for the arguments (Position[])" on .walkPath but if i try to add the path as anything but an array it will throw thousands of errors at me.
Cant use Webwalker so trying to get this path to work is necessary for me but idk what im supposed to do.
The tutorial Alek posted seems to be outdated
Creating a path like in Explvs tutorial (
which would look like this:
List<Position> path = new ArrayList<>();
path.add(new Position(3225, 3219, 0));
path.add(new Position(3233, 3218, 0));
getWalking().walkPath(path);
and give the error: "The type List is not generic; it cannot be parameterized with arguments <Position>" on "List" but no error on the getWalking() part