Skip to content
This repository has been archived by the owner on Jun 9, 2021. It is now read-only.

Commit

Permalink
Add toString() for Spells
Browse files Browse the repository at this point in the history
  • Loading branch information
erodozer committed Jun 14, 2012
1 parent 347af3f commit 5abad75
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/spell/Spell.java
Original file line number Diff line number Diff line change
Expand Up @@ -204,4 +204,10 @@ public int getTargetRange()
{
return targetRange;
}

@Override
public String toString()
{
return name;
}
}

0 comments on commit 5abad75

Please sign in to comment.