public class Insert extends PrioritizableScene
Modifier and Type | Field and Description |
---|---|
static int |
BUFFERED_INSERT |
static int |
UNBUFFERED_INSERT |
ADD_HIGHEST_PRIORITY, ADD_LOWEST_PRIORITY
Constructor and Description |
---|
Insert(Material material,
int bufferState) |
Modifier and Type | Method and Description |
---|---|
Material |
getBufferMaterial()
Gets the material of the buffer.
|
int |
getBufferState() |
void |
setBufferMaterial(Material material) |
void |
setLocation(int index,
double distanceFromOrigin) |
java.lang.String |
toString() |
add, add, add, addAll, addAll, clear, clearObjectsOnly, contains, containsAll, getHighestPriority, getLowestPriority, getObject, getPriority, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
getBackgroundMaterial, getMax, getMin, getName, setBackground, setMax, setMin, setName
public static int BUFFERED_INSERT
public static int UNBUFFERED_INSERT
public Insert(Material material, int bufferState)
material
- bufferState
- public void setBufferMaterial(Material material)
material
- public Material getBufferMaterial()
public void setLocation(int index, double distanceFromOrigin)
index
- distanceFromOrigin
- public java.lang.String toString()
toString
in class java.lang.Object
public int getBufferState()