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); }