Exemplo n.º 1
0
 public void OnOwnerChanged(Actor self, Player oldOwner, Player newOwner)
 {
     RemoveGps(self);
     owner = newOwner.PlayerActor.Trait <GpsWatcher>();
     owner.GpsAdd(self);
 }
Exemplo n.º 2
0
 public GpsPower(Actor self, GpsPowerInfo info) : base(self, info)
 {
     owner = self.Owner.PlayerActor.Trait <GpsWatcher>();
     owner.GpsAdd(self);
 }
Exemplo n.º 3
0
 public void OnCapture(Actor self, Actor captor, Player oldOwner, Player newOwner)
 {
     RemoveGps(self);
     owner = captor.Owner.PlayerActor.Trait <GpsWatcher>();
     owner.GpsAdd(self);
 }
Exemplo n.º 4
0
 public void OnCapture(Actor self, Actor captor, Player oldOwner, Player newOwner)
 {
     RemoveGps(self);
     owner = captor.Owner.PlayerActor.Trait<GpsWatcher>();
     owner.GpsAdd(self);
 }
Exemplo n.º 5
0
 public GpsPower(Actor self, GpsPowerInfo info)
     : base(self, info)
 {
     owner = self.Owner.PlayerActor.Trait<GpsWatcher>();
     owner.GpsAdd(self);
 }
Exemplo n.º 6
0
 public void OnOwnerChanged(Actor self, Player oldOwner, Player newOwner)
 {
     RemoveGps(self);
     owner = newOwner.PlayerActor.Trait<GpsWatcher>();
     owner.GpsAdd(self);
 }