I'm fairly new to actionscript but not new to programming. I've had around for years of using C/C++ as a student before now.
Basically my question is, does AS3 have any functionality comparible to pointers in C/C++?
I'm trying to implement the A* algorithm into my Flex project, but am finding it difficult due to getting used too pointers when coding in C++. When I used A* in C++ I found pointers to be almost essential with the amount of data getting stored and passed around. Now I can even get the algorithm to work right :S
Ok so can i ask how i would go about implementing the following scenario.
I have a Class "X" and a class "Y" both seperate from each other. However at one point in some methods inside "X" i need the information held in "Y". Now we're talking about alot of data here not just a couple of ints that are needed, the whole class will be needed to either get, set or use variables.
In C++ i'd pass in a pointer to "Y" into "X" either in the constructor or another method. This means i'm only passing about a small memory address rather than a whole classes worth of data. How would I best go about this in AS3.0?
This looks really cool, do you have any documentation, or plans add asdoc comments? I don't have immediate use but I've been looking for a good non-tile-based pathfinding algorithm I can integrate with my own code for a long time...