I have 2 arrays in different classes.
Cards[100] is in CardArray.java and has 47 elements
Map[501] is in MapArray.java and has 3 elements
I've been reading a lot about trying to avoid using getters and setters. I want to edit either array while in the opposite class, but how do I do this?
For example, when I'm in the CardArray class, how do I change the values of one of the elements in the Map array? Is there a way to do this without getters and setters?