Esempio n. 1
0
        protected override void Init(MyObjectBuilder_DefinitionBase builder)
        {
            base.Init(builder);
            MyObjectBuilder_GravityGeneratorDefinition definition = builder as MyObjectBuilder_GravityGeneratorDefinition;

            this.RequiredPowerInput = definition.RequiredPowerInput;
            this.MinFieldSize       = (Vector3)definition.MinFieldSize;
            this.MaxFieldSize       = (Vector3)definition.MaxFieldSize;
        }
		public GravityGeneratorDefinition(MyObjectBuilder_GravityGeneratorDefinition definition)
			: base(definition)
		{ }
 public GravityGeneratorDefinition(MyObjectBuilder_GravityGeneratorDefinition definition)
     : base(definition)
 {
 }