Add an ArrayList to another ArrayList

The class Grass is not a one of the Java collections but one of its attributes is grass so you might try

champi.addAll( (new Grass(parent, position)).grass);
1 Like