All Packages Class Hierarchy This Package Previous Next Index
Class pinball.part.BallReturn
java.lang.Object
|
+----pinball.part.BallReturn
- public class BallReturn
- extends Object
Used to detect that the ball has gone out of play.
-
BallReturn(DataIO)
-
Controls the ball return of the pinball machine.
-
ballInDrain()
- Checks if the ball is in the drain.
-
reset()
- Make the ball return plunger go back down.
BallReturn
public BallReturn(DataIO dataIO)
- Controls the ball return of the pinball machine.
- Parameters:
- dataIO - the device to talk to for controlling the drain.
reset
public void reset()
- Make the ball return plunger go back down.
ballInDrain
public boolean ballInDrain()
- Checks if the ball is in the drain.
- Parameters:
- return - ball in drain status.
All Packages Class Hierarchy This Package Previous Next Index