public class PickedObjectList extends ArrayList<PickedObject>
modCount
Constructor and Description |
---|
PickedObjectList() |
PickedObjectList(PickedObjectList list) |
Modifier and Type | Method and Description |
---|---|
List<?> |
getAllTopObjects()
Returns a list of all objects associated with a picked object in this list who's onTop flag is set to true.
|
List<PickedObject> |
getAllTopPickedObjects()
Returns a list of all picked objects in this list who's onTop flag is set to true.
|
PickedObject |
getMostRecentPickedObject() |
PickedObject |
getTerrainObject() |
Object |
getTopObject() |
PickedObject |
getTopPickedObject() |
boolean |
hasNonTerrainObjects() |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public PickedObjectList()
public PickedObjectList(PickedObjectList list)
public List<?> getAllTopObjects()
null
if this list is empty, or does not contain any picked objects marked as on top.null
if
nothing is marked as on top.public List<PickedObject> getAllTopPickedObjects()
null
if this list is empty, or does not contain any picked objects marked as on top.null
if nothing is marked as on top.public PickedObject getMostRecentPickedObject()
public PickedObject getTerrainObject()
public Object getTopObject()
public PickedObject getTopPickedObject()
public boolean hasNonTerrainObjects()