示例#1
0
 protected override void OnInitialized()
 {
     celebrateActionAccumulator_ = new ActionHintAccumulator(HintKey.CelebrateAction,
                                                             new EventRouter <BattlePlayer>(GameNotifications.OnBattlePlayerCelebrated)
                                                             .WithPredicate(battlePlayer => BattlePlayerUtil.IsHuman(battlePlayer)));
 }
示例#2
0
 protected override void OnInitialized()
 {
     reflectActionAccumulator_ = new ActionHintAccumulator(HintKey.ReflectAction,
                                                           new EventRouter <Laser, BattlePlayer>(GameNotifications.OnBattlePlayerReflectLaser)
                                                           .WithPredicate((laser, battlePlayer) => BattlePlayerUtil.IsHuman(battlePlayer)));
 }