All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pinball.menuevent.PinballCoin

java.lang.Object
   |
   +----pinball.menuevent.PinballCoin

public class PinballCoin
extends Object
implements ActionListener
Event for when a coin is to be added to the machine.


Variable Index

 o coin
 o coinButton
Ball lauch.

Constructor Index

 o PinballCoin(Button)
Get the coin button.

Method Index

 o actionPerformed(ActionEvent)
coin button is pressed.

Variables

 o coinButton
 private Button coinButton
Ball lauch.

 o coin
 Coin coin

Constructors

 o PinballCoin
 public PinballCoin(Button coin)
Get the coin button.

Parameters:
coin - coin button.

Methods

 o actionPerformed
 public void actionPerformed(ActionEvent e)
coin button is pressed. Ball is out of play.


All Packages  Class Hierarchy  This Package  Previous  Next  Index