code-coverage-Emilia #24
@@ -37,13 +37,6 @@ public abstract class Spell {
|
|||||||
return spellName.equals(spell.spellName);
|
return spellName.equals(spell.spellName);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public int hashCode() {
|
|
||||||
int result = spellName.hashCode();
|
|
||||||
result = 31 * result + cost;
|
|
||||||
result = 31 * result + range;
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
|||||||
Reference in New Issue
Block a user