Hello, everyone. Some days ago I asked for a revision of my code for a space shooter, and I got excellent feedback. Following your advice, I wrote a new program, and once again I would appreciate any comments.
Right now, all the program does is allow the user to move the ship and to fire.
The main focus of this rewrite was to use more OOP concepts and to eliminate global variables.
The code can be found here:
http://pastebin.com/UENkTa9t
The images can be found here:
http://rapidshare.com/files/444919968/images.tar
And if anyone would like to compare, the code for the older version is here:
http://pastebin.com/kAS9E164
What do you think? Is this more OOP? Are the functions more clear now? Do you have any difficulty reading the code?
Thanks in advance for any replies.