···11+package subpredicate
22+33+type Distance struct {
44+ Absolute float32
55+ Horizontal float32
66+ X float32
77+ Y float32
88+ Z float32
99+}
+10
predicate/subpredicate/effect.go
···11+package subpredicate
22+33+// todo: Amplifier and Duration can be an object with min and max value
44+type Effect struct {
55+ Name string
66+ Amplifier int
77+ Duration int
88+ Ambiant bool
99+ Visible bool
1010+}
···11+package subpredicate
22+33+type MinMaxInt struct {
44+ Min int
55+ Max int
66+}
77+88+type MinMaxDouble struct {
99+ Min float64
1010+ Max float64
1111+}
+11
predicate/subpredicate/movement.go
···11+package subpredicate
22+33+type Movement struct {
44+ X MinMaxDouble
55+ Y MinMaxDouble
66+ Z MinMaxDouble
77+ Speed MinMaxDouble
88+ HorizontalSpeed MinMaxDouble
99+ VerticalSpeed MinMaxDouble
1010+ FallDistance MinMaxDouble
1111+}