public override void Draw(Graphics graphics, float deltaSeconds) { splashTTL += deltaSeconds; splashFrameCounter += deltaSeconds; graphics.Clear(Color.White); if (splashTTL < splashShowupTime) { splashImages.DrawSpecificFrame(graphics, splashFrame); if (splashFrameCounter >= frameRate && splashFrame < 8) { splashFrame++; splashFrameCounter = 0; } /*if (splashFrame < 9){ * splashImages.Draw(graphics, 5); * splashFrame++; * } * else{ * splashImages.DrawSpecificFrame(graphics, 8); * }*/ //Console.WriteLine(splashFrame); } else { SceneManager.SetScene(new SceneMain()); } }