Created
November 22, 2021 19:08
-
-
Save arildojr7/381a7f7ed57fa5214706053eaf7661a0 to your computer and use it in GitHub Desktop.
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