1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-12 23:43:24 -05:00
OpenDiablo2/d2core/d2render/ebiten/surface_state.go
Ziemas b00fa58fc4
Object Highlights (#476)
* Add PushBrightness to surface

* Highlight selectable objects

Check if mapentity is selectable. (seems reasonable)
Request objects to highlight themselves is required (idk)
2020-06-27 18:58:41 -04:00

17 lines
221 B
Go

package ebiten
import (
"image/color"
"github.com/hajimehoshi/ebiten"
)
type surfaceState struct {
x int
y int
mode ebiten.CompositeMode
filter ebiten.Filter
color color.Color
brightness float64
}