|
||||||||||
| 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 Positionpublic int getWTIANumber()
getWTIANumber in class Positionpublic boolean isLosing()
isLosing in class Positionpublic boolean isFinal()
isFinal in class Positionpublic int hashCode()
hashCode in class java.lang.Objectpublic 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 | |||||||||