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

+19 votes
asked in CSC305 Fall 2022 by (1 point)

1 Answer

+8 votes

Does your Tile class have a toString() method?

answered by (508 points)
+5

No it did not. Maybe that's the issue.

+3

I found that having print lines helped a lot with debugging coordinate based issues. Perhaps printing out the mouse event coordinates and each time you use the coordinates will help you figure out the bug

...