Interface WorldMapData


  • public interface WorldMapData
    Represents data on the world map.
    • Method Detail

      • surfaceContainsPosition

        boolean surfaceContainsPosition​(int x,
                                        int y)
        Checks whether the passed coordinates are on the surface of the world map.
        Parameters:
        x - x-axis coordinate
        y - y-axis coordinate
        Returns:
        true if the coordinate is on the surface, false otherwise