示例#1
0
 public void removeFromEntities(Entity ent) {
   entities.remove(ent);
   LocalStorage.removeFromStorages(ent);
 }
示例#2
0
 public void addToEntities(Entity ent) {
   if (!entities.contains(ent)) {
     entities.add(ent);
     LocalStorage.addToNearbyStorages(ent);
   }
 }