Exemplo n.º 1
0
 public Power(Actor self, PowerInfo info)
 {
     this.info      = info;
     PlayerPower    = self.Owner.PlayerActor.Trait <PowerManager>();
     powerModifiers = Exts.Lazy(() => self.TraitsImplementing <IPowerModifier>().ToArray());
 }
Exemplo n.º 2
0
 public Power(Actor self, PowerInfo info)
 {
     this.info = info;
     PlayerPower = self.Owner.PlayerActor.Trait<PowerManager>();
     powerModifiers = Exts.Lazy(() => self.TraitsImplementing<IPowerModifier>().ToArray());
 }