mirror of
https://github.com/sojamo/controlp5
synced 2024-11-25 07:07:56 +01:00
Update ControllerList.java
This commit is contained in:
parent
f611e4d653
commit
4fd4105367
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user