/// <summary>
/// Check if a pixel is collidable at x, y.
/// </summary>
/// <param name="x">The X position of the pixel to check.</param>
/// <param name="y">The Y position of the pixel to check.</param>
/// <returns>True if the pixel collides.</returns>
public bool PixelAt(int x, int y)
{
if (x < 0 || y < 0 || x > Width || y > Height)
{
return(false);
}
if (collideImage.GetPixel((uint)x, (uint)y).A > Threshold)
{
return(true);
}
return(false);
}