Exemple #1
0
        public void UnRegister(Building_LightningRod rod)
        {
            SanitizeLists();
            if (rod == null || !rods.Contains(rod))
            {
                return;
            }

            rods.Remove(rod);
        }
Exemple #2
0
        public void Register(Building_LightningRod rod)
        {
            SanitizeLists();
            if (rod.DestroyedOrNull() || rods.Contains(rod))
            {
                return;
            }

            rods.Add(rod);
        }