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 File: ObservableEntityList.java    From clarity-analyzer with 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 File: Wards.java    From parser with MIT License 4 votes vote down vote up
@OnEntityDeleted
public void onDeleted(Context ctx, Entity e) {
    clearCachedState(e);
}
 
Example #3
Source File: SpawnsAndDeaths.java    From clarity-examples with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@OnEntityDeleted
public void onDeleted(Context ctx, Entity e) {
    clearCachedState(e);
}