constants
Class OthelloCons

java.lang.Object
  extended by constants.OthelloCons

public class OthelloCons
extends java.lang.Object

Created on October 24, 2006, 7:02 PM
Stores all the needed constants used in the othello game.
added the width and height of the game board.

Version:
t.2
Author:
Eric Angeli

Field Summary
static java.awt.Color bgColor
          The color of the background.
static java.awt.Color blackPlayer
          Color of the black player.
static int boardHeight
          The height of the game board.
static int boardWidth
          The width of the game board.
static int cHeight
          The height of the cell on the game board.
static int cpHeight
          The height of the current player panel.
static int cpWidth
          The width of the current player panel.
static int cWidth
          The width of the cell on the game board.
static java.awt.Color mouseOverColor
          The color of the square when the mouse is over the panel.
static java.awt.Color noFillColor
          Color when no piece has been placed.
static java.awt.Color playerColor
          Back ground color for the current player panel.
static int playerHeight
          The height of the current player panel.
static int playerWidth
          The width of the current player panel.
static java.awt.Color whitePlayer
          Color of the white player.
 
Constructor Summary
OthelloCons()
          Creates a new instance of OthelloCons
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

noFillColor

public static final java.awt.Color noFillColor
Color when no piece has been placed.


blackPlayer

public static final java.awt.Color blackPlayer
Color of the black player.


whitePlayer

public static final java.awt.Color whitePlayer
Color of the white player.


bgColor

public static final java.awt.Color bgColor
The color of the background.


cWidth

public static final int cWidth
The width of the cell on the game board.

See Also:
Constant Field Values

cHeight

public static final int cHeight
The height of the cell on the game board.

See Also:
Constant Field Values

mouseOverColor

public static final java.awt.Color mouseOverColor
The color of the square when the mouse is over the panel.


playerWidth

public static final int playerWidth
The width of the current player panel.

See Also:
Constant Field Values

playerHeight

public static final int playerHeight
The height of the current player panel.

See Also:
Constant Field Values

playerColor

public static final java.awt.Color playerColor
Back ground color for the current player panel.


cpWidth

public static final int cpWidth
The width of the current player panel.

See Also:
Constant Field Values

cpHeight

public static final int cpHeight
The height of the current player panel.

See Also:
Constant Field Values

boardWidth

public static final int boardWidth
The width of the game board.

See Also:
Constant Field Values

boardHeight

public static final int boardHeight
The height of the game board.

See Also:
Constant Field Values
Constructor Detail

OthelloCons

public OthelloCons()
Creates a new instance of OthelloCons