1
0
Fork 0
tetris-go/game/state/transitioner.go

6 lines
179 B
Go

package state
// Transitioner is the only thing a state needs to know about the machine.
type Transitioner interface {
Switch(name string) // request transition by state name
}