Inheritance: ISync, IFogVisibilityModifier
Esempio n. 1
0
 public GpsPower(Actor self, GpsPowerInfo info)
     : base(self, info)
 {
     this.info = info;
     owner     = self.Owner.PlayerActor.Trait <GpsWatcher>();
     owner.GpsAdd(self);
 }
Esempio n. 2
0
 public GpsPower(Actor self, GpsPowerInfo info)
     : base(self, info)
 {
     this.info = info;
     owner = self.Owner.PlayerActor.Trait<GpsWatcher>();
     owner.GpsAdd(self);
 }
Esempio n. 3
0
 public Traits(Player player, FrozenUnderFogUpdatedByGps frozenUnderFogUpdatedByGps)
 {
     FrozenActorLayer = player.PlayerActor.TraitOrDefault <FrozenActorLayer>();
     GpsWatcher       = player.PlayerActor.TraitOrDefault <GpsWatcher>();
     GpsWatcher.RegisterForOnGpsRefreshed(frozenUnderFogUpdatedByGps.self, frozenUnderFogUpdatedByGps);
 }
Esempio n. 4
0
 public void OnOwnerChanged(Actor self, Player oldOwner, Player newOwner)
 {
     RemoveGps(self);
     owner = newOwner.PlayerActor.Trait<GpsWatcher>();
     owner.GpsAdd(self);
 }
Esempio n. 5
0
 public void OnOwnerChanged(Actor self, Player oldOwner, Player newOwner)
 {
     RemoveGps(self);
     owner = newOwner.PlayerActor.Trait <GpsWatcher>();
     owner.GpsAdd(self);
 }
Esempio n. 6
0
 public DotState(GpsWatcher gps)
 {
     Gps = gps;
 }