starting to shape up gb project
This commit is contained in:
-11
@@ -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)]
|
||||
}
|
||||
Reference in New Issue
Block a user