Ejemplo n.º 1
0
 // removes the path that was walked by using the the walk path genertated from the trajectory file in fileops
 public void removeDebris(fileOps mapCleanup)
 {
     for (int i = 0; i < mapCleanup.walkPath.Count(); i++)
     {
         brush(((imageHeight - mapCleanup.walkPath[i].y - 1) * imageWidth) + mapCleanup.walkPath[i].x);
     }
 }
Ejemplo n.º 2
0
 // debugging funciton to look at the walk path
 public void printWalkPath(fileOps mapCleanup)
 {
     for (int i = 0; i < mapCleanup.walkPath.Count(); ++i)
     {
         Console.WriteLine("x: " + mapCleanup.walkPath[i].x.ToString() + " y: " + mapCleanup.walkPath[i].y.ToString());
     }
 }