26ed99fda6
Build and deploy / Build (push) Has been cancelled
Build and deploy / Update Contributors (push) Has been cancelled
Build and deploy / Deploy (push) Has been cancelled
19 lines
297 B
Go
19 lines
297 B
Go
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}
|
|
}
|