コード例 #1
0
 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
     {
     }
 }
コード例 #2
0
 public override void LinkMaster(Actor self, Actor master, BaseSpawnerMaster spawnerMaster)
 {
     base.LinkMaster(self, master, spawnerMaster);
     this.spawnerMaster = spawnerMaster as MarkerMaster;
 }
コード例 #3
0
 public virtual void LinkMaster(Actor self, Actor master, BaseSpawnerMaster spawnerMaster)
 {
     Master             = master;
     this.spawnerMaster = spawnerMaster;
 }