So I'm making a program for the lulz, and I've realized something. Almost all of my classes need to access the same coordinates, x and y, and half of them need to alter x and y. So, I have the coordinates as public ints. But it's going to be a pain to have to type locationList[4][5].x every time I want to alter or use x. |
|
Bookmarks