protected override void Draw(GameTime gameTime)
{
GraphicsDevice.Clear(Color.White);
TimeSpan time = TimeSpan.FromSeconds(_timer);
spriteBatch.Begin();
// TODO: Add your drawing code here
spriteBatch.Draw(backgroundDoorsTexture, background, Color.White);
spriteBatch.DrawString(font, string.Format("{0}",(int)_timer), timerLocation, Color.Red);
for (int i = 0; i < 8; i++)
{
arrowVector.X = i*100;
switch (copySequence[i])
{
case 0:
spriteBatch.Draw(leftArrowTexture, arrowVector, Color.White);
break;
case 1:
spriteBatch.Draw(middleArrowTexture, arrowVector, Color.White);
break;
case 2:
spriteBatch.Draw(rightArrowTexture, arrowVector, Color.White);
break;
}
}
spriteBatch.End();
base.Draw(gameTime);
}