Class JDK

java.lang.Object
  |
  +--JDK

class JDK
extends java.lang.Object

Use this class to hold a number to signal which version of the JDK I'm using here: 0 for 1.0, 1 for 1.1, 2 for 1.2. I do this to try and mimic some of the effect of a C++ #ifdef. This works inside the loadSounds code, but not really. You still need to manually comment some code in and out in loadSound. Only set version to 1 if you are using the jar file.


Field Summary
static int version
          Can be 0, 1, or 2 for JDK 1.0, 1.1, or 1.2 (also known as JDK 2).
 
Constructor Summary
(package private) JDK()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

version

public static final int version
Can be 0, 1, or 2 for JDK 1.0, 1.1, or 1.2 (also known as JDK 2).
Constructor Detail

JDK

JDK()