Update ControllerList.java

This commit is contained in:
GoToLoop 2016-07-09 22:09:59 -03:00 committed by GitHub
parent f611e4d653
commit 4fd4105367

View File

@ -32,7 +32,7 @@ import java.util.RandomAccess;
* Stores objects of type ControllerInterface and CDrawable, mainly for internal use.
*/
public class ControllerList implements RandomAccess {
protected final List< ControllerInterface< ? extends ControllerInterface< ? > > > controllers = new ArrayList< >( );
protected final List< ControllerInterface< ? > > controllers = new ArrayList< >( );
protected final List< CDrawable > drawables = new ArrayList< >( );
public ControllerList add( final ControllerInterface< ? extends ControllerInterface< ? > > theController ) {
@ -81,7 +81,7 @@ public class ControllerList implements RandomAccess {
return controllers.get( theIndex );
}
public List< ControllerInterface< ? extends ControllerInterface< ? > > > get( ) {
public List< ControllerInterface< ? > > get( ) {
return controllers;
}