The AstarPath was supposed to be iterated through like this:
while(myPath.hasNext())
{
trace(myPath.getNext());
}
But since a lot of people don’t like doing it this way, I’ve added a simple toArray() method to the AstarPath class. The method does what it says: It returns the inner array that the AstarPath uses.
I finally have a (more or less) decent website! This is actually V5; V1, V3 and V4 were never released and V2 was just a basic WordPress template. Granted, it doesn’t get more basic than the K2 template that I’m using right now, but it’s nice enough to release :).
The main goal of this website is to promote the things I create. Momentarily you can only find an AS3 implementation of A* here, but this will certainly change. I’m also going to try to keep up the blogging, but I’m not making any promises.
Enjoy your (probably brief) stay!