|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectconstants.OthelloCons
public class OthelloCons
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.
| 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 |
|---|
public static final java.awt.Color noFillColor
public static final java.awt.Color blackPlayer
public static final java.awt.Color whitePlayer
public static final java.awt.Color bgColor
public static final int cWidth
public static final int cHeight
public static final java.awt.Color mouseOverColor
public static final int playerWidth
public static final int playerHeight
public static final java.awt.Color playerColor
public static final int cpWidth
public static final int cpHeight
public static final int boardWidth
public static final int boardHeight
| Constructor Detail |
|---|
public OthelloCons()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||