enum SRSState {
original = 0,
right = 1,
double = 2,
left = 3,
}
type SRSBlockKickTable = [
original:SRSStateKickTable,
right:SRSStateKickTable,
double:SRSStateKickTable,
left:SRSStateKickTable,
]
I'm working on a modern tetris project, and I'm some how aggressive on my code quality. I don't want to write same stuff twice if possible, can i use enum above to define type below?