All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pinball.part.Plunger

java.lang.Object
   |
   +----pinball.part.Plunger

public class Plunger
extends Object
The plunger for the pinball machine.


Variable Index

 o launch
Code sent to lanuch the plunger.
 o LAUNCHCODE
Code to launch the ball.
 o launched
Has the plunger been launched.
 o plunger
Used to control the plunger.

Constructor Index

 o Plunger(DataIO)
Create the plunger.

Method Index

 o ballLaunched()
Check if the ball was launched.
 o launchBall()
Launch the ball.
 o reset()
Reset the plunger.

Variables

 o plunger
 private static transient DataIO plunger
Used to control the plunger.

 o launch
 private BitSet launch
Code sent to lanuch the plunger.

 o LAUNCHCODE
 private final int LAUNCHCODE
Code to launch the ball.

 o launched
 private boolean launched
Has the plunger been launched.

Constructors

 o Plunger
 public Plunger(DataIO plunger)
Create the plunger.

Methods

 o launchBall
 public void launchBall()
Launch the ball.

 o ballLaunched
 public boolean ballLaunched()
Check if the ball was launched.

Returns:
launched status.
 o reset
 public void reset()
Reset the plunger.


All Packages  Class Hierarchy  This Package  Previous  Next  Index