blob: 5b4604c3ef9c4a0584d96cba69da9e8ef7790ad8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// Code generated by "stringer -type WaveType"; DO NOT EDIT.
package mt
import "strconv"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[NotWaving-0]
_ = x[PlantWaving-1]
_ = x[LeafWaving-2]
_ = x[LiquidWaving-3]
}
const _WaveType_name = "NotWavingPlantWavingLeafWavingLiquidWaving"
var _WaveType_index = [...]uint8{0, 9, 20, 30, 42}
func (i WaveType) String() string {
if i >= WaveType(len(_WaveType_index)-1) {
return "WaveType(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _WaveType_name[_WaveType_index[i]:_WaveType_index[i+1]]
}
|