Ejemplo n.º 1
0
 internal void newSpawner(Spawner someNewSpawner)
 {
     levelSpawner = someNewSpawner;
 }
Ejemplo n.º 2
0
        public void Unload()
        {
            foreach (MachineComponent removeMe in machineComponentList)
            {
                if (removeMe != null)
                {
                    removeMe.RemoveFromAutoDrawSet();
                }
            }
            machineComponentList.Clear();

            foreach (EnvironmentObject removeMe in environmentObjectList)
            {
                if (removeMe != null)
                {
                    removeMe.RemoveFromAutoDrawSet();
                }
            }
            machineComponentList.Clear();

            levelSpawner.Unload();
            levelSpawner = null;

            levelReceptacle = null;
        }