TOC - prev - next - javadoc tree

2.5. Route concept

A Route is a collection of Segments which is purchased as a unit.

A Route has:

A Route is represented by the Route class.

A Strategy can see how many Routes there are and can get references to each Route from a Board object. All of the above data are visible.

The owner of a route is revealed by the Game object.

Name and Index

The name of a Route is specified in the Board's text file. They are unique.

The index is a unique non-negative integer; Routes are indexed sequentially from zero.

Segments

Each Segment of the Board belongs to exactly one Route.


TOC - prev - next - javadoc tree