public static interface WorldObserver.Change<T>
extends com.badlogic.gdx.utils.Pool.Poolable
update(Object) was called| Modifier and Type | Method and Description |
|---|---|
void |
apply(T obj) |
<C extends WorldObserver.Change<T>> |
newValuesEqual(C other)
if the values applied in
apply(Object) equal |
boolean |
update(T obj) |
boolean update(T obj)
obj - the object to check for changes since the last time this method was calledvoid apply(T obj)
obj - the object to apply the changes since update(Object) to<C extends WorldObserver.Change<T>> boolean newValuesEqual(C other)
apply(Object) equal