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.
-
launch
- Code sent to lanuch the plunger.
-
LAUNCHCODE
- Code to launch the ball.
-
launched
- Has the plunger been launched.
-
plunger
- Used to control the plunger.
-
Plunger(DataIO)
- Create the plunger.
-
ballLaunched()
- Check if the ball was launched.
-
launchBall()
-
Launch the ball.
-
reset()
-
Reset the plunger.
plunger
private static transient DataIO plunger
- Used to control the plunger.
launch
private BitSet launch
- Code sent to lanuch the plunger.
LAUNCHCODE
private final int LAUNCHCODE
- Code to launch the ball.
launched
private boolean launched
- Has the plunger been launched.
Plunger
public Plunger(DataIO plunger)
- Create the plunger.
launchBall
public void launchBall()
- Launch the ball.
ballLaunched
public boolean ballLaunched()
- Check if the ball was launched.
- Returns:
- launched status.
reset
public void reset()
- Reset the plunger.
All Packages Class Hierarchy This Package Previous Next Index