        /// Check if r1 is under of r2
        /// </summary>
        /// <param name="r1">First object</param>
        /// <param name="r2">Second object</param>
        /// <returns>True if it's under of</returns>
        public static bool IsUnderOf(Rectangle r1, Rectangle r2)
        {
            if (r1.Top >= r2.Bottom)
                return true;

            return false;
        }