public override void LinkMaster(Actor self, Actor master, BaseSpawnerMaster spawnerMaster) { base.LinkMaster(self, master, spawnerMaster); // Link master for the harvester trait. try { spawnerHarvesterMaster = Master.Trait <SlaveMinerHarvester>(); } catch { } }
public override void LinkMaster(Actor self, Actor master, BaseSpawnerMaster spawnerMaster) { base.LinkMaster(self, master, spawnerMaster); this.spawnerMaster = spawnerMaster as MarkerMaster; }
public virtual void LinkMaster(Actor self, Actor master, BaseSpawnerMaster spawnerMaster) { Master = master; this.spawnerMaster = spawnerMaster; }