public class EntityDetachRunnablePoolItem extends RunnablePoolItem
| Modifier and Type | Field and Description |
|---|---|
protected Callback<IEntity> |
mCallback |
protected IEntity |
mEntity |
| Constructor and Description |
|---|
EntityDetachRunnablePoolItem() |
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
void |
setCallback(Callback<IEntity> pCallback)
Sets up a callback which will get called right after detaching entity
|
void |
setEntity(IEntity pEntity) |
getParent, isFromPool, isRecycled, onObtain, onRecycle, recyclepublic void setEntity(IEntity pEntity)
public void setCallback(Callback<IEntity> pCallback)
pCallback - gets called right after detaching entity; if null nothing will be calledpublic void run()