Interface WorldMapData

  • All Known Subinterfaces:
    WorldMapData

    public interface WorldMapData
    Represents data for a worldmap surface
    • 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