1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-18 10:26:02 -05:00
OpenDiablo2/d2core/d2render/ebiten/surface_state.go

22 lines
389 B
Go
Raw Normal View History

package ebiten
import (
"image/color"
"github.com/hajimehoshi/ebiten"
"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
}