skadistats.clarity.processor.entities.OnEntityDeleted Java Examples

The following examples show how to use skadistats.clarity.processor.entities.OnEntityDeleted. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source Project: clarity-analyzer   Author: spheenik   File: ObservableEntityList.java    License: BSD 3-Clause "New" or "Revised" License 5 votes vote down vote up
@OnEntityDeleted
public void onDelete(Entity entity) {
    lock.lock();
    try {
        markChange(CF_LIST);
        int i = entity.getIndex();
        //System.out.println("delete " + i);
        changes[i] = new ObservableEntity(i);
    } finally {
        lock.unlock();
    }
}
 
Example #2
Source Project: parser   Author: odota   File: Wards.java    License: MIT License 4 votes vote down vote up
@OnEntityDeleted
public void onDeleted(Context ctx, Entity e) {
    clearCachedState(e);
}
 
Example #3
Source Project: clarity-examples   Author: skadistats   File: SpawnsAndDeaths.java    License: BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@OnEntityDeleted
public void onDeleted(Context ctx, Entity e) {
    clearCachedState(e);
}