Hello, Can someone tell me what do I have to do in getCenter() and getSize() method in dragon class?
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.