public class Sprite { /** The image to be drawn for this sprite */ private Image image; /** * Create a new sprite based on an image * * @param image The image that is this sprite */ public Sprite(Image image) { this.image = image; }
why is there two Images? what does the first do and what does the second do? im confused and ive seen this with the word game as well.
i've noticed that the capitalization are different but i don't understand the purpose. if any one could try to elaborate that would be stupendous. =)