Exemple #1
0
 public void AddTriggeredEnemies(int amountOfEnemies)
 {
     if (amountOfTriggeredEnemies == 0)
     {
         OnCombatStart.Invoke();
     }
     amountOfTriggeredEnemies += amountOfEnemies;
 }
    public void StartCombat(List <Team> _teams)   // Faire dans le OnEnable ?
    {
        OnCombatStart?.Invoke();

        Tick = 0;

        Teams = _teams;
    }