コード例 #1
0
ファイル: ScoringState.cs プロジェクト: shuaibimran/laserbeak
 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)));
 }