Adrian Crespo
Kacper Kendi Kędziera
Map2 is a subsystem to take the user from the current position to the Level Start Point and dynamically showing navigation hints. The user can choose the preferred mode of transport (for example: car, bike, bus, train, etc).
Generally, it works as standard GPS system.
[i] How accurate is Android GPS? http://stackoverflow.com/questions/1567443/how-accurate-is-android-gps
We will have three main components:
There will be four classes and they will implement three classes.
The classes will be: HintsManager, RouteCalculator, Path, PrefManager.
HintsManager will implement iHintsGenerator, RouteCalculator will implement iRouteCalculator and PrefManager will implement iPrefManager.
We will need a specific type of data used by RouteCalculator. Because of that, we will use two additional classes:
The following sequence diagram display the following use cases.
There is another sequence diagram:
The following diagram shows the lifecycle of RouteCalculator.
This package diagram is used to reflect the organization of packages and provide a visualization of the namespaces.
This Package diagram will use packages containing use cases to illustrate the functionality of the software system.
This structural diagram will show the internal structure of the preferences manager. It will show the configuration and relationship of its parts.
This interaction overview diagram will show the communication between interaction diagrams.
In will focus on the overview of requesting a hint, calculating the distances and returning the hint to the player.