public void removeFromEntities(Entity ent) { entities.remove(ent); LocalStorage.removeFromStorages(ent); }
public void addToEntities(Entity ent) { if (!entities.contains(ent)) { entities.add(ent); LocalStorage.addToNearbyStorages(ent); } }