public static void Remove(IUniversalLauncherShell shell, byte userId) { var pools = m_objectsPools[userId]; IUniversalLauncherShellsPool pool = pools[shell.GetType()]; pool.Remove(shell); MyEntities.RemoveFromClosedEntities(shell as MyEntity); }
public void Remove(IUniversalLauncherShell item) { Deallocate(item as T); }