Problem reading objects
My professor has given us a project and three classes that he has written. We are to impliment a 4th class, "Sprite" in order to work with the other classes. He has given us UML for the class and I have implimented this as well. (The UML picture is attached). For some reason I keep getting errors around myPicture and Picture later in the code. especially
myPicture.getX() or getY() methods.
Can someone please tell me what I am doing wrong? We don't need to change the other classes he has given us at all, he said we shouldnt even have to look at them if we dont want to. So then i dont understand why im getting those two errors in multiple places. "myPicture" and "Picture" are having issues. Can anyone point out my problem? thanks
Re: Problem reading objects
Here is my code:
|All times are GMT +5.5. The time now is 20:27.|