Blackjack

com.amoebacode.blackjack.display.action
Class UpdateBalanceLabelAction

java.lang.Object
  |
  +--com.amoebacode.blackjack.display.action.UpdateBalanceLabelAction
All Implemented Interfaces:
QueueableAction

public class UpdateBalanceLabelAction
extends java.lang.Object
implements QueueableAction

UpdateBalanceLabelAction updates the label the tracks the player's current cash balance.

Version:
0.9
Author:
Jason Gurney

Field Summary
private  GameDisplay gameDisplay
          The current game being displayed
 
Constructor Summary
UpdateBalanceLabelAction(GameDisplay gameDisplay)
          Default public constructor.
 
Method Summary
 void performAction()
          Updates the player's cash balance (called at the end of every round).
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

gameDisplay

private GameDisplay gameDisplay
The current game being displayed
Constructor Detail

UpdateBalanceLabelAction

public UpdateBalanceLabelAction(GameDisplay gameDisplay)
Default public constructor.
Parameters:
gameDisplay - the current GameDisplay
Method Detail

performAction

public void performAction()
Updates the player's cash balance (called at the end of every round).
Specified by:
performAction in interface QueueableAction

Blackjack

Copyright © 2002 amoebacode.com.