protected virtual void OnScenarioFinishEvent(EventArgs e) { IsInScenario = false; ScenarioEventHandler handler = ScenarioFinish; if (handler != null) { handler(this, e); } }
protected virtual void OnScenarioStartEvent(EventArgs e) { IsInScenario = true; ScenarioEventHandler handler = ScenarioStart; if (handler != null) { handler(this, e); } }