コード例 #1
0
 // Function from file: blob_mobs.dm
 public Mob_Living_SimpleAnimal_Hostile_Blob_Blobspore(dynamic loc = null, Obj_Effect_Blob_Factory linked_node = null) : base((object)(loc))
 {
     if (linked_node is Obj_Effect_Blob_Factory)
     {
         this.factory = linked_node;
         this.factory.spores.Add(this);
     }
     // Warning: Super call was HERE! If anything above HERE is needed by the super call, it might break!;
     return;
 }
コード例 #2
0
        // Function from file: blob_mobs.dm
        public override dynamic Destroy(  )
        {
            dynamic M = null;


            if (this.factory != null)
            {
                this.factory.spores.Remove(this);
            }
            this.factory = null;

            if (this.contents != null)
            {
                foreach (dynamic _a in Lang13.Enumerate(this.contents))
                {
                    M = _a;

                    M.loc = this.loc;
                }
            }
            return(base.Destroy());
        }
コード例 #3
0
 public Mob_Living_SimpleAnimal_Hostile_Blob_Blobspore_Weak(dynamic loc = null, Obj_Effect_Blob_Factory linked_node = null) : base((object)(loc), linked_node)
 {
 }