TOC
- prev
- next
- javadoc tree
The BusRider classes are in the busrider
package, and so
go into a directory called busrider
.
A programmer can import the busrider-package classes by putting this line
import busrider.*;near the start of his .java file. Failing that, he can "
implement busrider.Strategy
",
use the "busrider.Game
" parameter type, and so on.
Readers are encouraged to contribute their own Strategies to the BusRider distribution. There will be a clash, though, if two Strategies use the same class name. Readers are therefore asked to think-up unique class names, or a unique package name, and put their classes into that package.
TOC
- prev
- next
- javadoc tree