public PuzzleRow(PuzzleRow Other) { m_Cells = new PuzzleCell[Other.m_Cells.Length]; for (int i = 0; i < m_Cells.Length; i++) { m_Cells[i] = new PuzzleCell(Other.m_Cells[i]); } }
public PuzzleRow(int iSize) { m_Cells = new PuzzleCell[iSize]; for (int i = 0; i < iSize; i++) { m_Cells[i] = new PuzzleCell(iSize); } }
public PuzzleCell(PuzzleCell Other) { m_bValues = new bool[Other.m_bValues.Length]; for (int i = 0; i < m_bValues.Length; i++) { m_bValues[i] = Other.m_bValues[i]; } m_iFinalIcon = Other.m_iFinalIcon; }