Beispiel #1
0
 public override bool Apply(ROI roi)
 {
     foreach (var p in roi.ToArray())
     {
         var c = new Cell()
         {
             Type = CellType.Free, SpriteName = SpriteName
         };
         Map.Cells[p.X, p.Y] = c;
     }
     return(true);
 }