Beispiel #1
0
        protected override void Init(MyObjectBuilder_DefinitionBase builder)
        {
            base.Init(builder);
            MyObjectBuilder_OreDetectorDefinition definition = builder as MyObjectBuilder_OreDetectorDefinition;

            this.ResourceSinkGroup = MyStringHash.GetOrCompute(definition.ResourceSinkGroup);
            this.MaximumRange      = definition.MaximumRange;
        }
 public OreDetectorDefinition(MyObjectBuilder_OreDetectorDefinition definition)
     : base(definition)
 {
 }
		public OreDetectorDefinition(MyObjectBuilder_OreDetectorDefinition definition)
			: base(definition)
		{ }