]> git.lizzy.rs Git - mt.git/blob - animtype_string.go
Add WaitGroup to SerializePkt
[mt.git] / animtype_string.go
1 // Code generated by "stringer -linecomment -type AnimType"; DO NOT EDIT.
2
3 package mt
4
5 import "strconv"
6
7 func _() {
8         // An "invalid array index" compiler error signifies that the constant values have changed.
9         // Re-run the stringer command to generate them again.
10         var x [1]struct{}
11         _ = x[NoAnim-0]
12         _ = x[VerticalFrameAnim-1]
13         _ = x[SpriteSheetAnim-2]
14         _ = x[maxAnim-3]
15 }
16
17 const _AnimType_name = "nonevertical framesprite sheetmaxAnim"
18
19 var _AnimType_index = [...]uint8{0, 4, 18, 30, 37}
20
21 func (i AnimType) String() string {
22         if i >= AnimType(len(_AnimType_index)-1) {
23                 return "AnimType(" + strconv.FormatInt(int64(i), 10) + ")"
24         }
25         return _AnimType_name[_AnimType_index[i]:_AnimType_index[i+1]]
26 }