1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-16 09:25:57 -05:00
OpenDiablo2/d2core/d2render/ebiten/surface_state.go
gravestench 6e31cfb52a
migrate to ebiten v2.0 API (#860)
* migrate to ebiten v2.0 API

* fixed lint errors
2020-10-28 14:17:42 -04:00

22 lines
392 B
Go

package ebiten
import (
"image/color"
"github.com/hajimehoshi/ebiten/v2"
"github.com/OpenDiablo2/OpenDiablo2/d2common/d2enum"
)
type surfaceState struct {
x int
y int
filter ebiten.Filter
color color.Color
brightness float64
saturation float64
effect d2enum.DrawEffect
skewX, skewY float64
scaleX, scaleY float64
}