Files

19 lines
297 B
Go
Raw Permalink Normal View History

2026-07-09 08:33:57 +08:00
package effect
import (
"image/color"
)
// Darkness is a lasting effect that causes the player's vision to dim
// occasionally.
var Darkness darkness
type darkness struct {
nopLasting
}
// RGBA ...
func (darkness) RGBA() color.RGBA {
return color.RGBA{R: 0x29, G: 0x27, B: 0x21, A: 0xff}
}