public void TestMap()
{
var items = Items.ToList();
for (int i = 0; i < items.Count; ++i)
{
Console.WriteLine((i + 1) + ") " + items[i].Data.Name);
items[i].OptionInfo.DucatPrice = i + 1;
}
for (var y = 0; y < _height; ++y)
{
for (var x = 0; x < _width; ++x)
{
if (_map[x, y] != null)
Console.Write(_map[x, y].OptionInfo.DucatPrice.ToString().PadLeft(2) + " ");
else
Console.Write(" 0" + " ");
}
Console.WriteLine("|");
Console.WriteLine();
}
}