Example #1
0
 public override void Draw(GameTime gameTime)
 {
     _spriteBatch.Begin();
     for (int i = 0; i < Areas.GetLength(0); i++)
     {
         for (int j = 0; j < Areas.GetLength(1); j++)
         {
             DrawArea(Areas[i, j]);
         }
     }
     _spriteBatch.End();
     base.Draw(gameTime);
 }