Add: Added Javadoc For "toStringBoard" Method In Builder.java.
This commit is contained in:
@@ -89,6 +89,18 @@ public class Builder extends Character
|
|||||||
public String toString() {
|
public String toString() {
|
||||||
return super.toString() + " RV:" + String.valueOf(reductionValue) + " PV:" + String.valueOf(prestigeValue);
|
return super.toString() + " RV:" + String.valueOf(reductionValue) + " PV:" + String.valueOf(prestigeValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Prints a string representation of this {@code TribeCard}. This specific variation is used in the {@code Game}'s
|
||||||
|
* toString to print a more detailed version.
|
||||||
|
* <p>Includes:
|
||||||
|
* <li>{@link #reductionValue Reduction Value}
|
||||||
|
* <li>{@link #prestigeValue Prestige Value}
|
||||||
|
* </p>
|
||||||
|
* @return {@code String} - a string representation of this {@code TribeCard}.
|
||||||
|
* @see it.polimi.ingsw.gc14.Model.Cards.TribeCard TribeCard
|
||||||
|
* @see it.polimi.ingsw.gc14.Model.Game Game
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String toStringBoard()
|
public String toStringBoard()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user