28 lines
409 B
Go
28 lines
409 B
Go
|
package main
|
||
|
|
||
|
import "mcquay.me/yay"
|
||
|
|
||
|
type Shrug struct {
|
||
|
yay.Sequence
|
||
|
}
|
||
|
|
||
|
func NewShrug() *Shrug {
|
||
|
return &Shrug{
|
||
|
yay.Sequence{
|
||
|
Frames: [][]rune{
|
||
|
[]rune(`¯\_(ツ )_/¯`),
|
||
|
[]rune(`¯\_(ツ )_/¯`),
|
||
|
[]rune(`¯\_(ツ )_/¯`),
|
||
|
[]rune(`¯\-(ツ )-/¯`),
|
||
|
[]rune(`¯\_(ツ )_/¯`),
|
||
|
[]rune(`¯\-(ツ )-/¯`),
|
||
|
},
|
||
|
},
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func main() {
|
||
|
t := yay.NewViewPort(NewShrug())
|
||
|
t.Run()
|
||
|
}
|