Exemple #1
0
        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();
        }
Exemple #2
0
        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;
        }
Exemple #3
0
 private void StartWithCentralStimulus()
 {
     centralStimulus = NewCentralStimulus();
     centralStimulus.StartSimulating(this, Times.CentralTime);
 }
Exemple #4
0
 public abstract void ReportCentralStimulusDied(CentralStimulus central);