Quote Originally Posted by Firlefanz
Hi!

Two more questions please:

Is there a faster possibility to copy the path into my sprite class item than this:

Code:
setlength(WayPath,length(path));
for i:=0 to length(path) do waypath[i]:=path[i];
And if I step through the path, is there a fast method to delete the first waypoint of the path after I reached it or should I have a variable where the current step is saved and so step through the pathlist?

Thanks a lot for your infos and help!

Firle
you could try:

Code:
setlength(WayPath,length(path));

move(waypath[0], path[0], sizeof(whatever_point_you_use_in_path) * length(path));
this will move the memory from one variable to another.