public override void Draw(TimeSpan elapsedTime)
{
if (this.game != null && !this.game.HasExited) {
if (this.splashState) {
#region WAVE SOFTWARE LICENSE AGREEMENT
WaveServices.GraphicsDevice.RenderTargets.SetRenderTarget (null);
WaveServices.GraphicsDevice.Clear (ref this.backgroundSplashColor, ClearFlags.Target, 1);
this.spriteBatch.Draw (this.splashScreen, this.position, Color.White);
this.spriteBatch.Render ();
#endregion
} else {
this.game.DrawFrame (elapsedTime);
}
}
}