コード例 #1
0
ファイル: Battle.cs プロジェクト: Mathijsthunder3/PokemonGen1
        protected virtual void OnSecondExecutionOver()
        {
            BattleEventArgs args = new BattleEventArgs();

            args.thisBattle = this;
            SecondExecutionOver?.Invoke(this, args);
        }
コード例 #2
0
ファイル: Battle.cs プロジェクト: Mathijsthunder3/PokemonGen1
        protected virtual void OnMakingSelections()
        {
            BattleEventArgs args = new BattleEventArgs();

            args.thisBattle = this;
            MakingSelections?.Invoke(this, args);
        }
コード例 #3
0
ファイル: Battle.cs プロジェクト: Mathijsthunder3/PokemonGen1
        protected virtual void OnFirstExecutionBegun()
        {
            BattleEventArgs args = new BattleEventArgs();

            args.thisBattle = this;
            FirstExecutionBegun?.Invoke(this, args);
        }
コード例 #4
0
ファイル: Battle.cs プロジェクト: Mathijsthunder3/PokemonGen1
        protected virtual void OnBattleOver()
        {
            BattleEventArgs args = new BattleEventArgs();

            args.thisBattle = this;
            BattleOver?.Invoke(this, args);
        }