Add: Added Javadoc For "toStringBoard" Method In PlayableCard.java.
This commit is contained in:
@@ -45,6 +45,14 @@ public abstract class PlayableCard implements Serializable {
|
|||||||
public String toString() {
|
public String toString() {
|
||||||
return "⎕:";
|
return "⎕:";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Prints a string representation of this {@code PlayableCard}. This specific variation is used in the {@code Game}'s
|
||||||
|
* toString to print a more detailed version (in this specific case the two methods are equal).
|
||||||
|
* @return {@code String} - a string representation of this {@code PlayableCard}.
|
||||||
|
* @see it.polimi.ingsw.gc14.Model.Game Game
|
||||||
|
* @see it.polimi.ingsw.gc14.Model.GamePackage.Board Board
|
||||||
|
*/
|
||||||
public String toStringBoard()
|
public String toStringBoard()
|
||||||
{
|
{
|
||||||
return "⎕:";
|
return "⎕:";
|
||||||
|
|||||||
Reference in New Issue
Block a user