|
Jadex 0.96 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IStrategy
Interface for a player strategy.
Method Summary | |
---|---|
boolean |
drawCard(Card[] cards,
Card dealercard)
Decide if to draw another card. |
String |
getName()
Get the strategy name. |
int |
makeBet(int account)
Calculate how much to bet, given the account value. |
Method Detail |
---|
String getName()
int makeBet(int account)
boolean drawCard(Card[] cards, Card dealercard)
|
Jadex 0.96 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.