internal LogBuffer(int2 size) { m_Surface = new CellSurface(size); m_Cursor = default; m_Fg = ColorIndex.White; m_Bg = ColorIndex.Black; CellSurface.Clear(ref m_Surface, new Cell { fg = m_Fg, bg = m_Bg, rune = new Unicode.Rune { value = ' ' } }); }
internal void Initialize() { m_Instance = new UnsafeArray <Instance>(kMaxInstances); m_Screen = new CellSurface(new int2(Cell.kMaxWide, Cell.kMaxTall)); }