Exemple #1
0
 public Sell(Actor self)
 {
     health = self.TraitOrDefault<Health>();
     sellableInfo = self.Info.TraitInfo<SellableInfo>();
     playerResources = self.Owner.PlayerActor.Trait<PlayerResources>();
     IsInterruptible = false;
 }
Exemple #2
0
 public Sell(Actor self)
 {
     health = self.TraitOrDefault<Health>();
     sellableInfo = self.Info.Traits.Get<SellableInfo>();
     playerResources = self.Owner.PlayerActor.Trait<PlayerResources>();
 }