1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-02 09:17:19 -04:00
OpenDiablo2/d2common/d2interface/scene.go
2019-11-10 17:36:25 -05:00

14 lines
235 B
Go

package d2interface
import (
"github.com/hajimehoshi/ebiten"
)
// Scene defines the function necessary for scene management
type Scene interface {
Load() []func()
Unload()
Render(screen *ebiten.Image)
Update(tickTime float64)
}