Пример #1
0
        /// <summary>
        /// Determines whether or not a given game <paramref name="y"/>-coordinate
        /// could exist within the bounds of the world map, given a valid x-coordinate.
        /// </summary>
        /// <param name="y">The y-coordinate to check.</param>
        /// <returns>True if the y-coordinate could exist inside the world map; false otherwise.</returns>
        public static bool YCoordinateIsInBounds(float y)
        {
            bool inside = WorldMap.ContainsYCoordinate(y);

            return(inside);
        }