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.


Variable Index

 o fileFound
Used to check if the files are found.
 o flip
Input file, for flippers.
 o flipin
Input file, for flippers.
 o flippersFile
Name of the flipper file that contains the locations of the flippers.
 o how
How the player is going to play.
 o in
Input file, for game options.
 o logfile
Is the log file to be used.
 o login
Input file, for game options.
 o logout
Output file, for game options.
 o menu
The main menu of the program.
 o options
Game options.
 o optionsFile
Name and location of the options file.
 o out
Output file, for game options.
 o player
The player to play pinball.
 o Qcam
Generate the camera.
 o statsLog
The log file.

Constructor Index

 o JavaQcam(String[], StdPlayer, String)
Starts the pinball program.

Method Index

 o begin(String[], String)
Start up the program.
 o next()
Used by the Options menu to continue with the program.

Variables

 o menu
 private MainMenu menu
The main menu of the program. Used to start,exit the program.

 o fileFound
 private boolean fileFound
Used to check if the files are found.

 o Qcam
 private Camera Qcam
Generate the camera. Used to watch the pinball game.

 o options
 private Options options
Game options.

 o out
 private FileOutputStream out
Output file, for game options.

 o logout
 private DataOutputStream logout
Output file, for game options.

 o in
 private FileInputStream in
Input file, for game options.

 o login
 private DataInputStream login
Input file, for game options.

 o optionsFile
 private String optionsFile
Name and location of the options file.

 o statsLog
 private PrintStream statsLog
The log file.

 o logfile
 private boolean logfile
Is the log file to be used.

 o player
 private StdPlayer player
The player to play pinball.

 o flippersFile
 private String flippersFile
Name of the flipper file that contains the locations of the flippers.

 o flip
 private FileInputStream flip
Input file, for flippers.

 o flipin
 private DataInputStream flipin
Input file, for flippers.

 o how
 private String how
How the player is going to play.

Constructors

 o 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.

Methods

 o 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.
 o next
 protected void next()
Used by the Options menu to continue with the program.


All Packages  Class Hierarchy  This Package  Previous  Next  Index