|
||||||||||
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.WTIAPosition
public class WTIAPosition
Field Summary | |
---|---|
Position |
a
|
Position |
b
|
Constructor Summary | |
---|---|
WTIAPosition(Position a,
Position b)
Creates a new instance of WTIAPosition |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
Position[] |
getAllPossibleMoves()
|
int |
getWTIANumber()
|
int |
hashCode()
|
boolean |
isFinal()
|
boolean |
isLosing()
|
Methods inherited from class sk.lenhardt.game.Position |
---|
draw, getGrundyNumber, getRemoteness, getSuspense, 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 WTIAPosition(Position a, Position b)
Method Detail |
---|
public Position[] getAllPossibleMoves()
getAllPossibleMoves
in class Position
public int getWTIANumber()
getWTIANumber
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 |