Esempio n. 1
0
 static public void SetSection <T>(this IGrid <T> item, int x, int y, IGrid <T> value)
 {
     value.BoundSub(0, 0, item.GetWidth() - x, item.GetHeight() - y)
     .ProcessWithIndexs((sx, sy, v) => item[x + sx, y + sy] = v);
 }