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) { }