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