My advice would be to think "object oriented programming". Each object has its purpose, and to separate each object based upon that purpose. For example, you have defined classes (World, Meteor,...
Type: Posts; User: copeg
My advice would be to think "object oriented programming". Each object has its purpose, and to separate each object based upon that purpose. For example, you have defined classes (World, Meteor,...
And to add to Norm's questions, I also see the following:
Graphics g;
Meteor meteor = new Meteor(10, g);
Player player = new Player(g);
Object variables that are not initialized are by...
Very few (if any) will download attachments - I recommend you post the code into the forum itself (be sure to use the code tags). For what its worth, I'm betting you are doing the painting incorrect...