Add: Added Javadoc For "toStringBoard" Method In EventCard.java.
This commit is contained in:
@@ -64,6 +64,17 @@ public abstract class EventCard extends TribeCard {
|
|||||||
public String toString() {
|
public String toString() {
|
||||||
return super.toString()+" "+type.toString();
|
return super.toString()+" "+type.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Prints a string representation of this {@code EventCard}. This specific variation is used in the {@code Game}'s
|
||||||
|
* toString to print a more detailed version.
|
||||||
|
* <p>Includes:
|
||||||
|
* <li>{@link #type Type}
|
||||||
|
* </p>
|
||||||
|
* @return {@code String} - a string representation of this {@code EventCard}.
|
||||||
|
* @see it.polimi.ingsw.gc14.Model.Game Game
|
||||||
|
* @see it.polimi.ingsw.gc14.Model.GamePackage.Board Board
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String toStringBoard() {
|
public String toStringBoard() {
|
||||||
return super.toString()+" "+type.toString();
|
return super.toString()+" "+type.toString();
|
||||||
|
|||||||
Reference in New Issue
Block a user