aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/fishing/SeaCreature.kt
blob: 935d415f32ee553d2edff0d6bc4fc3904d04eebb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package at.hannibal2.skyhanni.fishing

data class SeaCreature(
    val displayName: String,
    val fishingExperience: Int,
    val chatColor: String,
    val rare: Boolean,
) {

    override fun toString(): String {
        return  chatColor + rare() + displayName
    }

    private fun rare(): String {
        return if (rare) "§l" else ""
    }
}