Fix: Fixed "toString" Method In Character.java.
This commit is contained in:
@@ -57,7 +57,7 @@ public abstract class Character extends TribeCard implements Cloneable {
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
return super.toString()+" "+type.toString();
|
||||
return type.toString() + " -- " + super.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -86,7 +86,9 @@ public class Builder extends Character
|
||||
* @return the string representation of this Builder card.
|
||||
*/
|
||||
@Override
|
||||
public String toString() { return super.toString()+" Reduction Value: " + String.valueOf(reductionValue) + "\n Prestige Value: " + String.valueOf(prestigeValue); }
|
||||
public String toString() {
|
||||
return super.toString() + " Reduction Value: " + String.valueOf(reductionValue) + " Prestige Value: " + String.valueOf(prestigeValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates and returns a copy of this Builder card.
|
||||
|
||||
Reference in New Issue
Block a user