예제 #1
0
            public override void SetBlock(SuperBlock block)
            {
                base.SetBlock(block, TBlockSubtypes.GravityGen);

                if (subtype != null)
                {
                    box    = block.TBlock as IMyGravityGenerator;
                    sphere = block.TBlock as IMyGravityGeneratorSphere;
                }
            }
예제 #2
0
 public override void Reset()
 {
     base.Reset();
     box    = null;
     sphere = null;
 }