All Packages Class Hierarchy This Package Previous Next Index
Class pinball.JavaQcam
java.lang.Object
|
+----pinball.JavaQcam
- public class JavaQcam
- extends Object
Starts up the pinball program with the type of player that logs in.
-
fileFound
- Used to check if the files are found.
-
flip
- Input file, for flippers.
-
flipin
- Input file, for flippers.
-
flippersFile
- Name of the flipper file that contains the locations of the flippers.
-
how
- How the player is going to play.
-
in
- Input file, for game options.
-
logfile
- Is the log file to be used.
-
login
- Input file, for game options.
-
logout
- Output file, for game options.
-
menu
- The main menu of the program.
-
options
- Game options.
-
optionsFile
- Name and location of the options file.
-
out
- Output file, for game options.
-
player
- The player to play pinball.
-
Qcam
- Generate the camera.
-
statsLog
- The log file.
-
JavaQcam(String[], StdPlayer, String)
- Starts the pinball program.
-
begin(String[], String)
-
Start up the program.
-
next()
- Used by the Options menu to continue with the program.
menu
private MainMenu menu
- The main menu of the program. Used to start,exit the program.
fileFound
private boolean fileFound
- Used to check if the files are found.
Qcam
private Camera Qcam
- Generate the camera. Used to watch the pinball game.
options
private Options options
- Game options.
out
private FileOutputStream out
- Output file, for game options.
logout
private DataOutputStream logout
- Output file, for game options.
in
private FileInputStream in
- Input file, for game options.
login
private DataInputStream login
- Input file, for game options.
optionsFile
private String optionsFile
- Name and location of the options file.
statsLog
private PrintStream statsLog
- The log file.
logfile
private boolean logfile
- Is the log file to be used.
player
private StdPlayer player
- The player to play pinball.
flippersFile
private String flippersFile
- Name of the flipper file that contains the locations of the flippers.
flip
private FileInputStream flip
- Input file, for flippers.
flipin
private DataInputStream flipin
- Input file, for flippers.
how
private String how
- How the player is going to play.
JavaQcam
public JavaQcam(String args[],
StdPlayer player,
String how)
- Starts the pinball program.
- Parameters:
- args - The command line arguments given.
- player - The player of the game.
- how - How the player will player. Local, Client, or Server.
begin
protected void begin(String args[],
String how)
- Start up the program. Takes command line arguments.
- Parameters:
- args - The command line arguments given.
- how - How the player will player. Local, Client, or Server.
next
protected void next()
- Used by the Options menu to continue with the program.
All Packages Class Hierarchy This Package Previous Next Index