ggz.cards.common
Class CardSetType

java.lang.Object
  extended by ggz.cards.common.CardSetType

public class CardSetType
extends java.lang.Object

The type of deck. In theory, many different types of decks are possible. Currently only the standard French deck is used.


Field Summary
static CardSetType CARDSET_DOMINOES
          A set of dominoes.
static CardSetType CARDSET_FRENCH
          A standard (French) card deck (A/K/Q/J/10..2).
static CardSetType UNKNOWN_CARDSET
           
static java.util.ArrayList values
           
 
Method Summary
static CardSetType valueOf(int i)
          Decodes the value sent from the server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

values

public static final java.util.ArrayList values

UNKNOWN_CARDSET

public static final CardSetType UNKNOWN_CARDSET

CARDSET_FRENCH

public static final CardSetType CARDSET_FRENCH
A standard (French) card deck (A/K/Q/J/10..2).


CARDSET_DOMINOES

public static final CardSetType CARDSET_DOMINOES
A set of dominoes. Here each domino has two sides, each of which has a number. For storage purposes, the higher side will be considered the "suit" and the lower side the "face".

Method Detail

valueOf

public static CardSetType valueOf(int i)
Decodes the value sent from the server. C enum cardset_type.

Parameters:
i -
Returns: