public TetrisCup(int width, int height, Point[] pattern) { this._size = new Size(width, height); this._pattern = pattern; _colors = new int[width, height]; for (int i = 0; i < pattern.Length; i++) { var point = pattern[i]; _colors[point.X, point.Y] = -1; } }
public bool StrictlyLess(Size right) { return this.Width < right.Width || this.Height < right.Height; }