de.tabacha.cgo
Interface Constants

All Known Implementing Classes:
AbstractEngine, BoardComponent, CgoRootPane, DefaultBoard, DefaultGame, Field, Move, TournamentGame

public interface Constants

Defines all the constants needed throughout this package.
$Id: Constants.java,v 1.11 2004/12/23 21:42:43 mk Exp $

Version:
$Revision: 1.11 $

Field Summary
static byte BALL
           
static int COL_COUNT
           
static byte[] DCOL
           
static boolean DOWN
           
static byte[] DROW
           
static byte E
           
static byte EMPTY
           
static byte FIRST_DIRECTION
           
static Field KICK_OFF_FIELD
           
static byte LAST_DIRECTION
           
static byte N
           
static byte NE
           
static byte NW
           
static byte[] OPPOSITE
           
static byte PIECE
          For the outside world, this is named 'player'.
static int ROW_COUNT
           
static byte S
           
static byte SE
           
static byte SW
           
static boolean UP
           
static byte[] UPSIDEDOWN
           
static byte W
           
 

Field Detail

UP

public static final boolean UP
See Also:
Constant Field Values

DOWN

public static final boolean DOWN
See Also:
Constant Field Values

ROW_COUNT

public static final int ROW_COUNT
See Also:
Constant Field Values

COL_COUNT

public static final int COL_COUNT
See Also:
Constant Field Values

KICK_OFF_FIELD

public static final Field KICK_OFF_FIELD

EMPTY

public static final byte EMPTY
See Also:
Constant Field Values

PIECE

public static final byte PIECE
For the outside world, this is named 'player'. To avoid misunderstandings, PIECE is used here for the blue balls.

See Also:
Constant Field Values

BALL

public static final byte BALL
See Also:
Constant Field Values

N

public static final byte N
See Also:
Constant Field Values

NE

public static final byte NE
See Also:
Constant Field Values

E

public static final byte E
See Also:
Constant Field Values

SE

public static final byte SE
See Also:
Constant Field Values

S

public static final byte S
See Also:
Constant Field Values

SW

public static final byte SW
See Also:
Constant Field Values

W

public static final byte W
See Also:
Constant Field Values

NW

public static final byte NW
See Also:
Constant Field Values

FIRST_DIRECTION

public static final byte FIRST_DIRECTION
See Also:
Constant Field Values

LAST_DIRECTION

public static final byte LAST_DIRECTION
See Also:
Constant Field Values

UPSIDEDOWN

public static final byte[] UPSIDEDOWN

OPPOSITE

public static final byte[] OPPOSITE

DCOL

public static final byte[] DCOL

DROW

public static final byte[] DROW