|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsk.lenhardt.game.Position
sk.lenhardt.sum.ANDPosition
public class ANDPosition
Field Summary | |
---|---|
Position |
a
|
Position |
b
|
Constructor Summary | |
---|---|
ANDPosition(Position a,
Position b)
Creates a new instance of ANDPosition |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
Position[] |
getAllPossibleMoves()
|
int |
getRemoteness()
|
int |
hashCode()
|
boolean |
isFinal()
|
boolean |
isLosing()
|
Methods inherited from class sk.lenhardt.game.Position |
---|
draw, getGrundyNumber, getSuspense, getWTIANumber, isWinning |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Position a
public Position b
Constructor Detail |
---|
public ANDPosition(Position a, Position b)
Method Detail |
---|
public Position[] getAllPossibleMoves()
getAllPossibleMoves
in class Position
public int getRemoteness()
getRemoteness
in class Position
public boolean isLosing()
isLosing
in class Position
public boolean isFinal()
isFinal
in class Position
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |