Blackjack

com.amoebacode.blackjack.command
Class DealCommand

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

class DealCommand
extends GameCommand

DealCommand sends a deal command to its corresponding game.

Version:
0.9
Author:
Jason Gurney

Fields inherited from class com.amoebacode.blackjack.command.GameCommand
game
 
Constructor Summary
protected DealCommand(IGame game)
          Default protected constructor.
 
Method Summary
 void execute()
          Deals the next round 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

DealCommand

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

execute

public void execute()
Deals the next round in the corresponding game.
Overrides:
execute in class GameCommand

Blackjack

Copyright © 2002 amoebacode.com.