This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sealed class TunerState(open val note: NotesEnum, val bgColor: Color) { | |
class Down(override val note: NotesEnum) : TunerState(note, OutOfTuneColor) | |
class Tuned(override val note: NotesEnum) : TunerState(note, TunedColor) | |
class Up(override val note: NotesEnum) : TunerState(note, OutOfTuneColor) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment