Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+3 votes

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

asked in CSC201 Spring 2021 by (1 point)

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 (1 point)
...