1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-12-25 19:46:50 -05:00
OpenDiablo2/d2core/d2render/ebiten/surface_state.go

22 lines
392 B
Go
Raw Normal View History

package ebiten
import (
"image/color"
"github.com/hajimehoshi/ebiten/v2"
"github.com/OpenDiablo2/OpenDiablo2/d2common/d2enum"
)
type surfaceState struct {
2020-07-26 19:29:37 -04:00
x int
y int
filter ebiten.Filter
color color.Color
brightness float64
saturation float64
effect d2enum.DrawEffect
skewX, skewY float64
scaleX, scaleY float64
}