public class PickedObjectList extends java.util.ArrayList<PickedObject>
Constructor and Description |
---|
PickedObjectList() |
PickedObjectList(PickedObjectList list) |
Modifier and Type | Method and Description |
---|---|
java.util.List<?> |
getAllTopObjects()
Returns a list of all objects associated with a picked object in this list who's onTop flag is set to true.
|
java.util.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() |
java.lang.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
public PickedObjectList()
public PickedObjectList(PickedObjectList list)
public java.util.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 java.util.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 java.lang.Object getTopObject()
public PickedObject getTopPickedObject()
public boolean hasNonTerrainObjects()