|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectboardgame.Player
pushers.PPlayer
public abstract class PPlayer
A base Pushers player. This is an abstract class that provides some helper methods.
| Constructor Summary | |
|---|---|
PPlayer()
Provide a default public constructor |
|
PPlayer(java.lang.String s)
|
|
| Method Summary | |
|---|---|
java.util.ArrayList<PMove> |
getLegalMoves(PBoard theBoard)
Returns the list of legal moves. |
| Methods inherited from class boardgame.Player |
|---|
chooseMove, createBoard, gameOver, gameStarted, getColor, getName, movePlayed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PPlayer()
public PPlayer(java.lang.String s)
| Method Detail |
|---|
public java.util.ArrayList<PMove> getLegalMoves(PBoard theBoard)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||