예제 #1
0
 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]);
     }
 }
예제 #2
0
 public PuzzleRow(int iSize)
 {
     m_Cells = new PuzzleCell[iSize];
     for (int i = 0; i < iSize; i++)
     {
         m_Cells[i] = new PuzzleCell(iSize);
     }
 }
예제 #3
0
 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;
 }
예제 #4
0
 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;
 }