mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-12 23:43:24 -05:00
b00fa58fc4
* Add PushBrightness to surface * Highlight selectable objects Check if mapentity is selectable. (seems reasonable) Request objects to highlight themselves is required (idk)
17 lines
221 B
Go
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
|
|
}
|