19 lines
312 B
Go
19 lines
312 B
Go
|
|
package effect
|
||
|
|
|
||
|
|
import (
|
||
|
|
"image/color"
|
||
|
|
)
|
||
|
|
|
||
|
|
// SlowFalling is a lasting effect that causes the affected entity to fall very
|
||
|
|
// slowly.
|
||
|
|
var SlowFalling slowFalling
|
||
|
|
|
||
|
|
type slowFalling struct {
|
||
|
|
nopLasting
|
||
|
|
}
|
||
|
|
|
||
|
|
// RGBA ...
|
||
|
|
func (slowFalling) RGBA() color.RGBA {
|
||
|
|
return color.RGBA{R: 0xf3, G: 0xcf, B: 0xb9, A: 0xff}
|
||
|
|
}
|