public void FlashScreen(float timeUp, float timeDown, float wait, Color color, bool instant) { ScreenFlashEvent fEvent = new ScreenFlashEvent(color, timeUp, timeDown, wait, instant); eventQueue.Enqueue(fEvent); }
// ******************************************************************** #endregion // ******************************************************************** // ******************************************************************** #region Private Methods // ******************************************************************** private void OnScreenFlashEvent(ScreenFlashEvent _event) { ApplyScreenFlash(_event.duration); }