Exemplo n.º 1
0
 void INotifyOwnerChanged.OnOwnerChanged(Actor self, Player oldOwner, Player newOwner)
 {
     playerPower = newOwner.PlayerActor.Trait <PowerManager>();
     Update(self);
 }
Exemplo n.º 2
0
 public GrantConditionOnPowerState(Actor self, GrantConditionOnPowerStateInfo info) : base(info)
 {
     playerPower = self.Owner.PlayerActor.Trait <PowerManager>();
 }