Example #1
0
 public virtual void Draw(GameTime gameTime, SpriteBatch spriteBatch)
 {
     if (Visible)
     {
         BackgroundLayer.Draw(gameTime, spriteBatch);
         ForegroundLayer.Draw(gameTime, spriteBatch);
         UILayer.Draw(gameTime, spriteBatch);
     }
 }