src/commonMain/kotlin/guru/zoroark/lixy/LixyStateLabel.kt

Summary

Maintainability
A
0 mins
Test Coverage
package guru.zoroark.lixy
 
/**
* Represents a label for a state in a multiple labeled state context. Can be
* implemented by anything.
*
* @see stateLabel
*/
interface LixyStateLabel
 
class LixyGenericStateLabel : LixyStateLabel
 
/**
* Create a generic state label (actually an instance of [LixyGenericStateLabel]
* and returns it. This function provides an easy and dirty way of creating
* labels when you do not have an enum in place.
*/
fun stateLabel(): LixyGenericStateLabel = LixyGenericStateLabel()