|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
p2.tictactoe.AbstractBoardGame
p2.tictactoe.Gomoku
public class Gomoku
Field Summary |
---|
Fields inherited from class p2.tictactoe.AbstractBoardGame |
---|
cols_, gameState_, nobody_, player_, rows_, squaresLeft_, turn_, winner_, winningScore_ |
Constructor Summary | |
---|---|
Gomoku(Player playerX,
Player playerO)
|
Method Summary | |
---|---|
protected void |
init()
Subclasses should initialize _rows, _cols and _winningScore |
Methods inherited from class p2.tictactoe.AbstractBoardGame |
---|
checkWinner, currentPlayer, get_cols, get_rows, get, inRange, invariant, move, notOver, set, setWinner, squaresLeft, swapTurn, toString, winner |
Methods inherited from class java.util.Observable |
---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface p2.tictactoe.BoardGame |
---|
addObserver |
Constructor Detail |
---|
public Gomoku(Player playerX, Player playerO)
Method Detail |
---|
protected void init()
AbstractBoardGame
init
in class AbstractBoardGame
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |