de.java_chess.javaChess.ply
Interface AnalyzedPly

All Known Implementing Classes:
AnalyzedPlyImpl

public interface AnalyzedPly

Utility class for plies and their scores.


Field Summary
static short MAX_SCORE
          The maximum score.
static short MIN_SCORE
          The minimum score.
 
Method Summary
 java.lang.Object clone()
          Clone this ply.
 Ply getPly()
          Get the analyzed ply.
 short getScore()
          Get the scrore of this ply.
 void setPly(Ply ply)
          Set a new ply.
 void setScore(short score)
          Set a new scrore for this ply.
 

Field Detail

MAX_SCORE

public static final short MAX_SCORE
The maximum score.

MIN_SCORE

public static final short MIN_SCORE
The minimum score.
Method Detail

getPly

public Ply getPly()
Get the analyzed ply.
Returns:
The analyzed ply.

setPly

public void setPly(Ply ply)
Set a new ply.
Parameters:
ply - The new ply.

getScore

public short getScore()
Get the scrore of this ply.
Returns:
The score of this ply.

setScore

public void setScore(short score)
Set a new scrore for this ply.
Parameters:
score - The new score for this ply.

clone

public java.lang.Object clone()
Clone this ply.
Overrides:
clone in class java.lang.Object
Returns:
A clone of this ply.