1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-18 18:36:12 -05:00
OpenDiablo2/d2core/d2render/ebiten/surface_state.go
dk ba89bf965a
removing lint errors from d2render (#598)
The edits outside of d2render or to fix the lint error for `DrawText`.
`DrawText` should be called `DrawTextf` because it formats the string.
2020-07-17 18:51:44 -04:00

19 lines
293 B
Go

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