Ejemplo n.º 1
0
        public void Update(GameFightEndMessage message)
        {
            Clear();
            _account.State = Enums.AccountStates.NONE;

            FightEnded?.Invoke();
        }
Ejemplo n.º 2
0
        public void FightHasEnded()
        {
            FightEnded Handler = FightEndedChanged;

            if (Handler != null)
            {
                Handler(this, null);
            }
        }
Ejemplo n.º 3
0
        private void HandleGameFightEndMessage(IAccount account, GameFightEndMessage message)
        {
            Fighters.Clear();
            Options.Clear();
            TotalLaunchBySpell.Clear();
            LastTurnLaunchBySpell.Clear();
            TotalLaunchByCellBySpell.Clear();
            DurationByEffect.Clear();

            WaitForReady   = false;
            IsFighterTurn  = false;
            IsFightStarted = false;
            FightEnded?.Invoke(message);

            Account.Character.Status = CharacterStatus.None;
        }