View on GitHub

map-library

a map library for basic map functions. A map provides access to the fields, the fields have edges and neighbors.

map-library

a map is a geographical 2D representation of fields that are connected to each other. The concept of a map originates mainly from 2D-games. Hence the map is rastered.

the major reason for using this library is that it is platform independ and uses only java basic functionality (only java.lang and java.util)

Map Types

there are 3 different types of maps implemented:

Data Types

the map is build up from fields: F, edges E and nodes N, they all together form the map.

A Map has:
Edges have:

API

the map library provides expected basic functionality

Example / Tutorial

this screen shot is taken from the example of the map-library:

screenshot

Requirements: