|
|||||||||
| 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
Interface BoardDataModel

- All Known Implementing Classes:
- DefaultBoardDataModel
- public interface BoardDataModel
| Method Summary | |
void |
addBoardListener(BoardListener l)
|
java.lang.Object |
clone()
|
void |
fireBoardChanged(BoardEvent evt)
|
java.util.Vector |
flips(java.awt.Point p,
int sid)
|
com.adorphuye.othello.gui.Board |
getBoard()
|
com.adorphuye.othello.player.Player |
getCurrentSide()
|
int[][] |
getData()
|
int |
getDataAt(java.awt.Point p)
|
int |
getMovesLeft()
|
int |
getMovesMade()
|
java.util.Vector |
getPossibleMoves(int obj)
|
com.adorphuye.othello.player.Player[] |
getSides()
|
void |
nextSide()
|
void |
pass(com.adorphuye.othello.player.Player p)
|
void |
removeBoardListener(BoardListener l)
|
void |
reset()
|
void |
setBoard(com.adorphuye.othello.gui.Board b)
|
void |
setData(int[][] data)
|
void |
setDataAt(java.awt.Point p,
int obj)
|
void |
setSides(com.adorphuye.othello.player.Player[] data)
|
| Method Detail |
setBoard
public void setBoard(com.adorphuye.othello.gui.Board b)
getBoard
public com.adorphuye.othello.gui.Board getBoard()
setSides
public void setSides(com.adorphuye.othello.player.Player[] data)
pass
public void pass(com.adorphuye.othello.player.Player p)
getSides
public com.adorphuye.othello.player.Player[] getSides()
getCurrentSide
public com.adorphuye.othello.player.Player getCurrentSide()
nextSide
public void nextSide()
setData
public void setData(int[][] data)
getData
public int[][] getData()
setDataAt
public void setDataAt(java.awt.Point p, int obj)
getDataAt
public int getDataAt(java.awt.Point p)
addBoardListener
public void addBoardListener(BoardListener l)
removeBoardListener
public void removeBoardListener(BoardListener l)
fireBoardChanged
public void fireBoardChanged(BoardEvent evt)
getPossibleMoves
public java.util.Vector getPossibleMoves(int obj)
flips
public java.util.Vector flips(java.awt.Point p, int sid)
getMovesLeft
public int getMovesLeft()
getMovesMade
public int getMovesMade()
clone
public java.lang.Object clone()
reset
public void reset()
|
|||||||||
| 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