I'm not sure why my getIterator()
function I made isn't working correctly. Below are the 3 classes I have and they implement each other. However specifically under the class MapView
at the line Iterator gameObjects = gap.getCollection().getIterator();
the .getIterator()
isn't getting the iterator from GameObjectCollection
class like it should.
EDIT: The error it gives me is The method getIterator() is undefined for the type Object