|
|||||||||
| Home >> All >> com >> adorphuye >> othello >> gui >> [ board overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.adorphuye.othello.gui.board
Class BoardEvent

java.lang.Objectcom.adorphuye.othello.gui.board.BoardEvent
- public class BoardEvent
- extends java.lang.Object
| Field Summary | |
static int |
HASPLAYED
|
static int |
NONE
|
private com.adorphuye.othello.player.Player |
oldPlayer
|
static int |
PIECEUPDATE
|
private com.adorphuye.othello.player.Player |
player
|
static int |
PLAYING
|
private java.awt.Point |
point
|
static int |
REFRESH
|
private int |
type
|
static int |
WILLPLAY
|
| Constructor Summary | |
BoardEvent(int eventType,
com.adorphuye.othello.player.Player old,
com.adorphuye.othello.player.Player play,
java.awt.Point p)
|
|
| Method Summary | |
com.adorphuye.othello.player.Player |
getOldPlayer()
|
com.adorphuye.othello.player.Player |
getPlayer()
|
java.awt.Point |
getPoint()
|
int |
getType()
|
void |
setOldPlayer(com.adorphuye.othello.player.Player p)
|
void |
setPlayer(com.adorphuye.othello.player.Player play)
|
void |
setPoint(java.awt.Point p)
|
void |
setType(int t)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
NONE
public static final int NONE
- See Also:
- Constant Field Values
WILLPLAY
public static final int WILLPLAY
- See Also:
- Constant Field Values
PLAYING
public static final int PLAYING
- See Also:
- Constant Field Values
HASPLAYED
public static final int HASPLAYED
- See Also:
- Constant Field Values
PIECEUPDATE
public static final int PIECEUPDATE
- See Also:
- Constant Field Values
REFRESH
public static final int REFRESH
- See Also:
- Constant Field Values
type
private int type
player
private com.adorphuye.othello.player.Player player
point
private java.awt.Point point
oldPlayer
private com.adorphuye.othello.player.Player oldPlayer
| Constructor Detail |
BoardEvent
public BoardEvent(int eventType,
com.adorphuye.othello.player.Player old,
com.adorphuye.othello.player.Player play,
java.awt.Point p)
| Method Detail |
setOldPlayer
public void setOldPlayer(com.adorphuye.othello.player.Player p)
getOldPlayer
public com.adorphuye.othello.player.Player getOldPlayer()
setPoint
public void setPoint(java.awt.Point p)
getPoint
public java.awt.Point getPoint()
setPlayer
public void setPlayer(com.adorphuye.othello.player.Player play)
getPlayer
public com.adorphuye.othello.player.Player getPlayer()
setType
public void setType(int t)
getType
public int getType()
|
|||||||||
| Home >> All >> com >> adorphuye >> othello >> gui >> [ board overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.adorphuye.othello.gui.board.BoardEvent