Add: Added Javadoc For "toStringBoard" Method In Hunt.java.
This commit is contained in:
@@ -70,6 +70,17 @@ public class Hunt extends EventCard {
|
|||||||
public EventCard clone() {
|
public EventCard clone() {
|
||||||
return new Hunt(getEra(), prestigeMultiplier);
|
return new Hunt(getEra(), prestigeMultiplier);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 #prestigeMultiplier}
|
||||||
|
* </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() {
|
||||||
return super.toString()+" 1F+"+prestigeMultiplier+"PP"+" X N Hunter";
|
return super.toString()+" 1F+"+prestigeMultiplier+"PP"+" X N Hunter";
|
||||||
|
|||||||
Reference in New Issue
Block a user