Hi all, Could someone please reply to me off list about the following issue I'm having?
I'm trying to create a game board with moving enemies on it. I've created an enemy class with various properties and methods, and each time I spawn an enemy, I store it in a global enemy array that I also reference using my position. The problem is, say I'm at position 10 and the enemy spawns at position 4, I can't destroy it when it gets to position 10 because its position in the array doesn't change. How can I fix this? Also, how do I put enemies of different types inthe array? Regards, Gavin --- Gamers mailing list __ [email protected] If you want to leave the list, send E-mail to [email protected]. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/[email protected]. If you have any questions or concerns regarding the management of the list, please send E-mail to [email protected].
