public RadioAntenna(IMyCubeBlock block) : base(block) { myLogger = new Logger("RadioAntenna", () => CubeBlock.CubeGrid.DisplayName); myRadioAntenna = CubeBlock as Ingame.IMyRadioAntenna; Registrar.Add(myRadioAntenna, this); }
public CR_AntennaBlock(Ingame.IMyRadioAntenna antenna) { this.m_antenna = antenna; if (s_prop_broadcasting == null) s_prop_broadcasting = antenna.GetProperty("EnableBroadCast").AsBool(); }