Пример #1
0
        protected override void Init(MyObjectBuilder_DefinitionBase builder)
        {
            base.Init(builder);
            MyObjectBuilder_DebrisDefinition definition = builder as MyObjectBuilder_DebrisDefinition;

            this.Model     = definition.Model;
            this.Type      = definition.Type;
            this.MinAmount = definition.MinAmount;
        }
Пример #2
0
        protected override void Init(MyObjectBuilder_DefinitionBase builder)
        {
            base.Init(builder);

            var ob = builder as MyObjectBuilder_DebrisDefinition;
            MyDebug.AssertDebug(ob != null);

            this.Model = ob.Model;
            this.Type = ob.Type;
        }
Пример #3
0
        protected override void Init(MyObjectBuilder_DefinitionBase builder)
        {
            base.Init(builder);

            var ob = builder as MyObjectBuilder_DebrisDefinition;

            MyDebug.AssertDebug(ob != null);

            this.Model = ob.Model;
            this.Type  = ob.Type;
        }