private void Init() { int h = parser.Lines.Count; int w = parser.Lines[0].Length; area = new WaitingArea(w, h); for (int i = 0; i < h; i++) { for (int j = 0; j < w; j++) { if (parser.Lines[i][j].Equals('L')) { area.SetState(j, i, SeatState.Empty); } } } }