Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.


+2 votes

Can someone tell me what do I have to do in getCenter() and getSize() method in dragon class?

asked in CSC201 Spring 2021 by (8 points)

1 Answer

+1 vote

You should simply return the center point and size of your dragon object. I used getAnchor and getWidth (since dragon is square) respectively to do so.

answered by (8 points)