Exemple #1
0
    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);
    }
Exemple #2
0
    // ********************************************************************
    #endregion
    // ********************************************************************


    // ********************************************************************
    #region Private Methods
    // ********************************************************************
    private void OnScreenFlashEvent(ScreenFlashEvent _event)
    {
        ApplyScreenFlash(_event.duration);
    }