|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjagafa.object.CardList
jagafa.object.Hand
public class Hand
Hand is a CardList holding all the Cards in a Players hand
| Constructor Summary | |
|---|---|
Hand()
Constructor: Create a new Hand |
|
Hand(CardList handCards)
Constructor: Init the Hand with the Cards in the CardList |
|
| Method Summary | |
|---|---|
void |
sort(RuleSet rules)
Sort the Hand according to the RuleSet |
| Methods inherited from class jagafa.object.CardList |
|---|
add, addAll, clear, contains, get, getGoneOfColor, isEmpty, iterator, list, remove, remove, size, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Hand()
public Hand(CardList handCards)
| Method Detail |
|---|
public void sort(RuleSet rules)
rules - The relevant RuleSet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||