private void StartNewFight(Interaction interaction) { _individualFightInfo = new CombatantFightInfo(interaction, _playerName); _lastInteractionTime = interaction.Time; _currentOpponent = interaction.OpponentName; _fightOngoing = true; _firstInteractionTime = DateTime.Now; }
private void ClearBattle() { if (OnBattleEndEvent != null) { OnBattleEndEvent.Invoke(_individualFightInfo); } _firstInteractionTime = DateTime.Now; _lastInteractionTime = DateTime.Now; _currentOpponent = null; _individualFightInfo = null; _raidFightInfo = null; _fightOngoing = false; }