Blackjack

com.amoebacode.blackjack.command
Class ShuffleCommand

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

class ShuffleCommand
extends GameCommand

DealCommand sends a shuffle command to its corresponding game.

Version:
0.9
Author:
Jason Gurney

Fields inherited from class com.amoebacode.blackjack.command.GameCommand
game
 
Constructor Summary
protected ShuffleCommand(IGame game)
          Default protected constructor.
 
Method Summary
 void execute()
          Shuffles the deck in the corresponding game.
 
Methods inherited from class com.amoebacode.blackjack.command.GameCommand
getGame
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

ShuffleCommand

protected ShuffleCommand(IGame game)
Default protected constructor.
Parameters:
game - the IGame target for this command
Method Detail

execute

public void execute()
Shuffles the deck in the corresponding game.
Overrides:
execute in class GameCommand

Blackjack

Copyright © 2002 amoebacode.com.