Ejemplo n.º 1
0
        // Function from file: shieldgen.dm
        public override dynamic Destroy(  )
        {
            Obj_Machinery_Shield shield_tile = null;


            foreach (dynamic _a in Lang13.Enumerate(this.deployed_shields, typeof(Obj_Machinery_Shield)))
            {
                shield_tile = _a;

                GlobalFuncs.qdel(shield_tile);
            }
            this.deployed_shields = null;
            return(base.Destroy());
        }
Ejemplo n.º 2
0
        // Function from file: shieldgen.dm
        public bool shields_down(  )
        {
            Obj_Machinery_Shield shield_tile = null;


            if (!this.active)
            {
                return(false);
            }
            this.active = false;
            this.update_icon();

            foreach (dynamic _a in Lang13.Enumerate(this.deployed_shields, typeof(Obj_Machinery_Shield)))
            {
                shield_tile = _a;

                GlobalFuncs.qdel(shield_tile);
            }
            this.deployed_shields.Cut();
            return(false);
        }