/// <summary> /// Initializes a new instance of the <see cref="TriStateMatrix"/> class. /// </summary> /// <param name="internalArray">The internal array.</param> /// <remarks></remarks> internal TriStateMatrix(bool[,] internalArray) { m_InternalArray = internalArray; int width = internalArray.GetLength(0); m_stateMatrix = new StateMatrix(width); m_Width = width; }
/// <summary> /// Initializes a new instance of the <see cref="TriStateMatrix"/> class. /// </summary> /// <param name="width">The width.</param> /// <remarks></remarks> public TriStateMatrix(int width) { m_stateMatrix = new StateMatrix(width); m_InternalArray = new bool[width, width]; m_Width = width; }
/// <summary> /// Initializes a new instance of the <see cref="TriStateMatrix"/> class. /// </summary> /// <param name="width">The width.</param> /// <remarks></remarks> public TriStateMatrix(int width) { m_stateMatrix = new StateMatrix(width); m_InternalArray = new bool[width,width]; m_Width = width; }