summaryrefslogtreecommitdiff
path: root/internal/spells/spells.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/spells/spells.go')
-rw-r--r--internal/spells/spells.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/spells/spells.go b/internal/spells/spells.go
index 78220c8..c5a76b2 100644
--- a/internal/spells/spells.go
+++ b/internal/spells/spells.go
@@ -56,7 +56,7 @@ func Pick() string {
return spells[n]
}
-type SpellBook struct {
+type Book struct {
Spells []Spell
}
@@ -65,7 +65,7 @@ type Spell struct {
Level int
}
-func (m *SpellBook) Add(title string) {
+func (m *Book) Add(title string) {
for i, v := range m.Spells {
if v.Title == title {
v.Level++