public void RepopulateEntities(IEnumerable <EntityUid> entities) { ContextMenu.RemoveAllChildren(); foreach (EntityUid entity in entities) { ContextMenu.AddChild(new ContextMenuItem(_uiManager, _entityManager, entity)); } }
public void RepopulateEntities(IEnumerable <EntityUid> entities) { ContextMenu.RemoveAllChildren(); foreach (EntityUid entity in entities) { ContextMenu.AddChild(new ContextMenuItem(_uiManager, _entityManager, entity)); } }