protected void SetItemFields(Item item, bool value) { try { for (int y = 0; y < item.height; y++) for (int x = 0; x < item.width; x++) m_fields[(int)item.y + y][(int)item.x + x] = value; } catch { Console.WriteLine("Coordinate Exception...."); } }