Пример #1
0
 protected override void OnThreatTerminated()
 {
     base.OnThreatTerminated();
     SittingDuck.UnsubscribeFromMovingIn(DroneLocations, PoisonPlayer);
     SittingDuck.UnsubscribeFromMovingOut(DroneLocations, PoisonPlayer);
 }
Пример #2
0
 protected override void OnThreatTerminated()
 {
     base.OnThreatTerminated();
     SittingDuck.UnsubscribeFromMovingIn(EnumFactory.All <StationLocation>().Where(station => station.IsOnShip()), AttachToPlayer);
 }
Пример #3
0
 protected override void OnHealthReducedToZero()
 {
     base.OnHealthReducedToZero();
     SittingDuck.UnsubscribeFromMovingIn(CurrentStations, DelayPlayer);
 }
Пример #4
0
 private void AttachToPlayer(object sender, PlayerMoveEventArgs args)
 {
     attachedPlayer = args.MovingPlayer;
     SittingDuck.UnsubscribeFromMovingIn(EnumFactory.All <StationLocation>().Where(station => station.IsOnShip()), AttachToPlayer);
 }