// aiChance < 0 => ai plays honestly public void Start(float aiChance = -1) { _playerWins = 0; _aiWins = 0; _aiCheatChance = aiChance; OnRoundStarted?.Invoke(); OnScoreUpdated?.Invoke($"{_playerWins} : {_aiWins}"); Debug.Log("New game started!"); }
public static void RoundStarted(WaveType waveType) { OnRoundStarted?.Invoke(waveType); }