package view; import java.util.LinkedList; public class SetEntitiesView { private LinkedList listEntities; public SetEntitiesView() { listEntities = new LinkedList<>(); } /** * * @param d is add to the list of things to draw */ public void add(AbsView d) { listEntities.add(d); } public boolean isEmpty() { return listEntities.isEmpty(); } }