yay/cmd/dance/main.go
2015-06-21 01:00:57 -07:00

30 lines
412 B
Go

package main
import "mcquay.me/yay"
type Dance struct {
yay.Sequence
}
func NewDance() *Dance {
d := &Dance{
yay.Sequence{
Frames: [][]rune{
[]rune(`<('o'<) `),
[]rune(` ('-') `),
[]rune(` (>'o')>`),
[]rune(` ('-') `),
[]rune(` ('-') `),
[]rune(` ('-') `),
[]rune(` (>'o')>`),
},
},
}
return d
}
func main() {
t := yay.NewViewPort(NewDance())
t.Run()
}