11-03-2011, 11:30 AM
britlion Wrote:I have to admit, being able to create and destroy objects with automatic garbage collection might be a great way to have sprite capability - and the sprite would have all the relevant data like location, speed, direction, and a pointer to its graphics location as part of the object data; with all the sprite operations available on the object...
But I have to admit this is about the only case I'm salivating over.
This cannot be done with a linked list?
sprite.x(nr)
sprite.pointer(nr)
or similar?
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!