I tried to inherit the following type, but the compiler says it is final.
class Dice(private var side: Int)
{
constructor(D: DiceTypesK): this(D.value) {}
}
class ExplodedDice(private val D:
I tried to inherit the following type, but the compiler says it is final.
class Dice(private var side: Int)
{
constructor(D: DiceTypesK): this(D.value) {}
}
class ExplodedDice(private val D: