This commit is contained in:
Trey t
2022-01-19 09:54:52 -06:00
parent 031de0c933
commit d68db75f87
53 changed files with 567 additions and 13 deletions

View File

@@ -71,6 +71,24 @@ enum Mood: Int {
return Image("missing", bundle: .main)
}
}
var graphic: Image {
switch self {
case .horrible:
return Image("HorribleGraphic", bundle: .main)
case .bad:
return Image("BadGraphic", bundle: .main)
case .average:
return Image("AverageGraphic", bundle: .main)
case .good:
return Image("GoodGraphic", bundle: .main)
case .great:
return Image("GreatGraphic", bundle: .main)
case .missing:
return Image("MissingGraphic", bundle: .main)
}
}
}
extension Mood: Identifiable {