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