示例#1
0
 public OreRefinery(Actor self, OreRefineryInfo info)
 {
     this.self          = self;
     Info               = info;
     PlayerResources    = self.Owner.PlayerActor.Trait <PlayerResources>();
     currentDisplayTick = Info.TickRate;
 }
示例#2
0
 public OreRefinery(Actor self, OreRefineryInfo info)
 {
     this.self = self;
     Info = info;
     PlayerResources = self.Owner.PlayerActor.Trait<PlayerResources>();
     PlayerPower = self.Owner.PlayerActor.Trait<PowerManager>();
 }
示例#3
0
 public OreRefinery(Actor self, OreRefineryInfo info)
 {
     this.self = self;
     Info = info;
     PlayerResources = self.Owner.PlayerActor.Trait<PlayerResources>();
     currentDisplayTick = Info.TickRate;
 }
示例#4
0
 public OreRefinery(Actor self, OreRefineryInfo info)
 {
     this.self = self;
     Info = info;
     Player = self.Owner.PlayerActor.Trait<PlayerResources> ();
     LinkedHarv = new List<Actor> ();
 }