public override void ReportCentralStimulusDied(CentralStimulus central) { if (central != centralStimulus) { Debug.LogError($"{central} stimulus is not the central one, don't care if it died!"); return; } Debug.Log($"Only {centralStimulus} has finished"); StartWithStimulus(); }
public override void ReportCentralStimulusDied(CentralStimulus central) { if (central != centralStimulus) { Debug.LogError($"{central} stimulus is not the central one, don't care if it died!"); return; } Debug.Log($"{centralStimulus} has finished"); Destroy(centralStimulus.gameObject); centralStimulus = null; waitingTime = Times.PauseTime; }
private void StartWithCentralStimulus() { centralStimulus = NewCentralStimulus(); centralStimulus.StartSimulating(this, Times.CentralTime); }
public abstract void ReportCentralStimulusDied(CentralStimulus central);