implementation("io.github.denis535:state-machine-pro:1.2.0")
The library that allows you to easily implement a stateful object.