Ejemplo n.º 1
0
 /// <summary>Returns true if the position <paramref name="p"/> is out of bounds defined by the Playfield's full height and width</summary>
 /// <param name="p">Position to test</param>
 /// <returns>whether the <paramref name="p"/> is out of bounds</returns>
 public bool IsPointOutOfBounds(Point p) => !Mathf.Between(p.X, 0, width - 1) || !Mathf.Between(p.Y, 0, FullHeight - 1);