/** * Returns the score of the TttBoard stored in this TttNode. * * @return The score of the TttBoard based on the currentPlayer of the Board. */ public int getScore() { return data.getValue(); }
/** * Sets the value of the board layout. * * @param theScore The value of the Board for the current player of the Board. */ public void setScore(int theScore) { data.setValue(theScore); }