[GREENFOOT-185] getObjects method requires casting
At the moment, the getObjects method in the World class seems to return a list of type Objects no matter what the class specified in the parameter is. Would it not make more sense to use generics to return a list of the class specified in the parameter, or return a list of type actor if null is specified?
Issue metadata
- Issue type: Task
- Priority: Low
- Fix versions: 3.0.0