private void Awake() { enemy = GetComponent <EnemyController>(); attackManager = GetComponent <MonsterAttackManager>(); monAttacks = GetComponent <MonsterAttacks>(); baseStats = GetComponent <BaseStats>(); health = GetComponent <Health>(); fighter = GetComponent <Fighter>(); }
public BattleService(DataContext dataContext, MonsterAttacks monsterAttacks, PlayerAttacks playerAttacks) { _dataContext = dataContext; _monsterAttacks = monsterAttacks; _playerAttacks = playerAttacks; }