aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/ambientaddons/utils/dungeon/TextStyle.kt
blob: b1a5dce1a72ca34eb5698d867972e6cf9f9435dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package com.ambientaddons.utils.dungeon

enum class TextStyle {
    Default, Shadow, Outline;

    companion object {
        fun fromInt(number: Int): TextStyle? = when (number) {
            0 -> Default
            1 -> Shadow
            2 -> Outline
            else -> null
        }
    }
}