Need Help proving equality with boolean
Working on a school project and our professor has supplied us with three classes. we are to implement a fourth class called "Sprite" using a specified UML.
The UML part that I'm having trouble with looks like this:
+equals(other : Sprite) : boolean
how do i write this code? I know it needs to return a boolean, and I'm supposed to check if the sprite i have in my class equals the other sprite. I'm lost.
Re: Need Help proving equality with boolean
|All times are GMT +5.5. The time now is 06:12.|