public void Update(GameTime gameTime)
{
if (_showing)
{
if(_timeOfFirstUpdate == null || _timeOfFirstUpdate == new TimeSpan())
_timeOfFirstUpdate = gameTime.TotalGameTime;
if (gameTime.TotalGameTime - _timeOfFirstUpdate >= new TimeSpan(0, 0, 0, 0, _millisecondsToShowFor))
{
if (DoneDisplaying != null)
DoneDisplaying(this);
_showing = false;
}
}
}