Пример #1
0
        public void Receive(UseRun runAction)
        {
            UseRunEventArgs useRunEventArgs = new UseRunEventArgs(this, runAction);

            OnUseRun?.Invoke(this, useRunEventArgs);

            // TODO

            RunUsedEventArgs runUsedEventArgs = new RunUsedEventArgs(this, runAction);

            OnRunUsed?.Invoke(this, runUsedEventArgs);
        }
Пример #2
0
 public RunUsedEventArgs(IBattle battle, UseRun action) : base(battle)
 {
     Action = action;
 }