
Chapter 13.5. Touring the Town

From the website:

  Killer Game Programming in Java
  http://fivedots.coe.psu.ac.th/~ad/jg

  Dr. Andrew Davison
  Dept. of Computer Engineering
  Prince of Songkla University
  Hat yai, Songkhla 90112, Thailand
  E-mail: ad@fivedots.coe.psu.ac.th


If you use this code, please mention my name, and include a link
to the website.

Thanks,
  Andrew

============================

This directory contains 6 Java files:
  TourLand.java, TourLandPanel.java, TourRotLandPanel.java, RotLandMap.java
  TourPerLandPanel.java, PerLandMap.java

PerLandMap.java requires JAI (the Java Advanced Imaging library)
in order to compile and execute.

The subdirectory images\ contains four images used in the application:
  londonMap.gif, londonMap2.gif, player.gif, and smallRacer.png


----------------------------
Downloading the JAI

JAI (the Java Advanced Imaging library) isn't part of Java's 
standard distribution, and must be obtained from
https://jai.dev.java.net/

I downloaded jai-1_1_3-lib-windows-i586-jdk.exe for Windows, which installs 
libraries into the JDKs.


----------------------------
Compilation:

  > compile *.java

Note: PerLandMap.java requires JAI (the Java Advanced Imaging library)
to compile.


----------------------------
Execution: 

  > java TourLand 0     // starts TourLand with TourLandPanel.java (the first 2D version)

  > java TourLand 1     // starts TourLand with TourRotLandPanel.java and
                        // RotLandMap.java (the second 2D version)

  > java TourLand 2     // starts TourLand with TourPerLandPanel.java and
                        // PerLandMap.java (the fake 3D version, which requires JAI)


---------
Last updated: 14th January 2009
