ggz.common
Class SeatType

java.lang.Object
  extended by ggz.common.SeatType

public class SeatType
extends java.lang.Object


Field Summary
static SeatType GGZ_SEAT_ABANDONED
          The seat is abandoned by a player.
static SeatType GGZ_SEAT_BOT
          The seat has a bot (AI) in it.
static SeatType GGZ_SEAT_NONE
          This seat does not exist.
static SeatType GGZ_SEAT_OPEN
          The seat is open (unoccupied).
static SeatType GGZ_SEAT_PLAYER
          The seat has a regular player in it.
static SeatType GGZ_SEAT_RESERVED
          The seat is reserved for a player.
static java.util.ArrayList values
           
 
Method Summary
 int ordinal()
           
 java.lang.String toString()
           
static SeatType valueOf(int ordinal)
           
static SeatType valueOf(java.lang.String type_str)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

values

public static final java.util.ArrayList values

GGZ_SEAT_NONE

public static final SeatType GGZ_SEAT_NONE
This seat does not exist.


GGZ_SEAT_OPEN

public static final SeatType GGZ_SEAT_OPEN
The seat is open (unoccupied).


GGZ_SEAT_BOT

public static final SeatType GGZ_SEAT_BOT
The seat has a bot (AI) in it.


GGZ_SEAT_PLAYER

public static final SeatType GGZ_SEAT_PLAYER
The seat has a regular player in it.


GGZ_SEAT_RESERVED

public static final SeatType GGZ_SEAT_RESERVED
The seat is reserved for a player.


GGZ_SEAT_ABANDONED

public static final SeatType GGZ_SEAT_ABANDONED
The seat is abandoned by a player.

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

valueOf

public static SeatType valueOf(java.lang.String type_str)

valueOf

public static SeatType valueOf(int ordinal)

ordinal

public int ordinal()