Exemplo n.º 1
0
 public void PreUpdate(TransformInfo[,] transformations)
 {
     foreach(var i in Range(0, transformations.GetLength(0)))
         foreach(var j in Range(0, transformations.GetLength(1)))
         {
             var des = transformations[i, j].Destination;
             if (des != Coordinate.Nowhere)
                 _cells[new Coordinate(i, j).ToIndex()] = 0;
         }
 }
Exemplo n.º 2
0
 private void ResetInternal(ref TransformInfo info)
 {
     info.Destination = Coordinate.Nowhere;
     info.WasNew = false;
     info.PreviousNumber = byte.MaxValue;
 }
Exemplo n.º 3
0
 private void ResetInternal(ref TransformInfo info)
 {
     info.Destination    = Coordinate.Nowhere;
     info.WasNew         = false;
     info.PreviousNumber = byte.MaxValue;
 }