starting to shape up gb project

This commit is contained in:
sm
2015-06-29 21:17:58 -07:00
parent 13a11428be
commit 435362dc08
5 changed files with 0 additions and 0 deletions
-11
View File
@@ -1,11 +0,0 @@
package yay
type Sequence struct {
Frame int
Frames [][]rune
}
func (s *Sequence) Next() []rune {
s.Frame += 1
return s.Frames[s.Frame%len(s.Frames)]
}