public class StateBlock
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
StateBlock.StateEntry |
Constructor and Description |
---|
StateBlock(long time,
ZoneKey zone) |
Modifier and Type | Method and Description |
---|---|
void |
addUpdate(java.lang.Long parent,
java.lang.Long entity,
com.simsilica.mathd.Vec3d pos,
com.simsilica.mathd.Quatd rot) |
void |
addWarp(java.lang.Long parent,
java.lang.Long entity) |
java.util.List<java.lang.Long> |
getRemovals() |
long |
getTime() |
java.util.List<StateBlock.StateEntry> |
getUpdates() |
java.util.List<java.lang.Long> |
getWarps() |
ZoneKey |
getZone() |
boolean |
isEmpty() |
void |
removeEntity(java.lang.Long entity) |
java.lang.String |
toString() |
public StateBlock(long time, ZoneKey zone)
public ZoneKey getZone()
public boolean isEmpty()
public void addUpdate(java.lang.Long parent, java.lang.Long entity, com.simsilica.mathd.Vec3d pos, com.simsilica.mathd.Quatd rot)
public void removeEntity(java.lang.Long entity)
public void addWarp(java.lang.Long parent, java.lang.Long entity)
public long getTime()
public java.util.List<StateBlock.StateEntry> getUpdates()
public java.util.List<java.lang.Long> getRemovals()
public java.util.List<java.lang.Long> getWarps()
public java.lang.String toString()
toString
in class java.lang.Object