net.sf.genethello.gametheory
Class RatedMove
java.lang.Object
net.sf.genethello.gametheory.Move
net.sf.genethello.gametheory.RatedMove
public class RatedMove
- extends Move
A move of game with rating.
- Author:
- Administrator
| Fields inherited from class net.sf.genethello.gametheory.Move |
index |
|
Constructor Summary |
RatedMove(int i,
int r)
Creates a new instance of Move |
|
Method Summary |
int |
getRating()
Gets rating of the move. |
void |
setRating(int rt)
Sets rating of the move |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
rating
public int rating
RatedMove
public RatedMove(int i,
int r)
- Creates a new instance of Move
getRating
public final int getRating()
- Gets rating of the move.
- Returns:
- rating
setRating
public final void setRating(int rt)
- Sets rating of the move
- Parameters:
rt - rating
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object