Beispiel #1
0
 private void ClearInventory()
 {
     for (int y = Map.MapHeight - 4; y < Map.MapHeight; y++)
     {
         for (int x = Map.MapWidth + 1; x < Map.MapWidth + Map.MapExtension; x++)
         {
             legend[x, y] = new LegendField(x, y);
         }
     }
 }
Beispiel #2
0
 private void ClearLegend()
 {
     for (int y = 0; y < Map.MapHeight; y++)
     {
         for (int x = Map.MapWidth; x < Map.MapWidth + Map.MapExtension; x++)
         {
             legend[x, y] = new LegendField(x, y);
         }
     }
 }