public void setLive(boolean isLive) {
super.setLive(isLive);
this.isLive = isLive;
if (isLive) {
UniverseManager mgr = AppContext.getManager(UniverseManager.class);
CellMO cell = cellRef.get();
for (ServerProximityListenerRecord rec : proximityListeners.values()) {
rec.setLive(isLive, cell, mgr);
}
} else {
UniverseManager mgr = AppContext.getManager(UniverseManager.class);
CellMO cell = cellRef.get();
for (ServerProximityListenerRecord rec : proximityListeners.values()) {
rec.setLive(isLive, cell, mgr);
}
}