예제 #1
0
 /// <summary>
 /// loop through all the blocks in xzy running a delegated method for each block, the delegated method will be passed coordinated in int format
 /// </summary>
 /// <param name="FEBD">the delegate to call on each cycle</param>
 public void ForEachBlock(ForEachBlockDelegate FEBD)
 {
     for (int i = 0; i < CWMap.BlockData.Length; ++i)
     {
         FEBD(i);
     }
 }
예제 #2
0
 /// <summary>
 /// loop through all the blocks in xzy running a delegated method for each block, the delegated method will be passed coordinated in int format
 /// </summary>
 /// <param name="FEBD">the delegate to call on each cycle</param>
 public void ForEachBlock(ForEachBlockDelegate FEBD) {
     for (int i = 0; i < Data.Length; ++i) {
         FEBD(i);
     }
 }