Blackjack

com.amoebacode.blackjack.command
Class StandCommand

java.lang.Object
  |
  +--com.amoebacode.blackjack.command.PlayerHandCommand
        |
        +--com.amoebacode.blackjack.command.StandCommand
All Implemented Interfaces:
ICommand

class StandCommand
extends PlayerHandCommand

StandCommand sends a stand command to its corresponding player hand.

Version:
0.9
Author:
Jason Gurney

Fields inherited from class com.amoebacode.blackjack.command.PlayerHandCommand
playerHand
 
Constructor Summary
protected StandCommand(IPlayerHand playerHand)
          Default protected constructor.
 
Method Summary
 void execute()
          Stands on the corresponding player hand.
 
Methods inherited from class com.amoebacode.blackjack.command.PlayerHandCommand
getPlayerHand
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

StandCommand

protected StandCommand(IPlayerHand playerHand)
Default protected constructor.
Parameters:
playerHand - the IPlayerHand target for this command
Method Detail

execute

public void execute()
Stands on the corresponding player hand.
Overrides:
execute in class PlayerHandCommand

Blackjack

Copyright © 2002 amoebacode.com.