-footer

Uses of Interface
garrettsmith.blackjack.Result

Packages that use Result
garrettsmith.blackjack Provides classes for playing a game of blackjack. 
garrettsmith.blackjack.refimpl Provides for using the blackjack framework via the console and serves as an example implementation of EventHandler
 

Uses of Result in garrettsmith.blackjack
 

Fields in garrettsmith.blackjack declared as Result
static Result Result.BLACKJACK
          Represents when the player has a blackjack.
static Result Result.BLACKJACK_PUSH
          Represents when both the player and the dealer have a blackjack.
static Result Result.BUSTED
          Represents when the player's hand exceeded 21.
static Result Result.DEALER_BLACKJACK
          Represents when the dealer has a blackjack.
static Result Result.DEALER_BUSTED
          Represents when the dealer's hand exceeded 21 and the player's hand is equal to or less than 21.
static Result Result.EARLY_SURRENDER
          Represents when the player surrenders his hand.
static Result Result.LATE_SURRENDER
          Represents when the player surrenders his hand.
static Result Result.LOSE
          Represents when the player has a hand whose value is less than the dealer's and both hands are equal to or less than 21.
static Result Result.PUSH
          Represents when both the player and dealer have the same value hand that is equal to or less than 21.
static Result Result.WIN
          Represents when the player has a hand whose value is greater than the dealer's and both hands are equal to or less than 21.
 

Methods in garrettsmith.blackjack with parameters of type Result
 void EventHandler.handFinished(Hand hand, double gain, Result result, CardList dealerCards)
          Method that is invoked when a hand is done being played.
 

Uses of Result in garrettsmith.blackjack.refimpl
 

Methods in garrettsmith.blackjack.refimpl with parameters of type Result
 void TextPlayer.handFinished(Hand hand, double gainOrLoss, Result result, CardList dealerCards)
           
 


-footer

Copyright 2001-5 Garrett Smith. Use is subject to license terms.