예제 #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;
 }