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.


Constructor Index

 o BallReturn(DataIO)
Controls the ball return of the pinball machine.

Method Index

 o ballInDrain()
Checks if the ball is in the drain.
 o reset()
Make the ball return plunger go back down.

Constructors

 o BallReturn
 public BallReturn(DataIO dataIO)
Controls the ball return of the pinball machine.

Parameters:
dataIO - the device to talk to for controlling the drain.

Methods

 o reset
 public void reset()
Make the ball return plunger go back down.

 o 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