1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-07-01 03:15:23 +00:00
OpenDiablo2/d2corecommon/d2coreinterface/scene.go
ndechiara 1c2b4869a1 Migrate out d2common d2helper d2data modules (#195)
* Switch items to dynamic load with a common struct, add misc.txt loading
* Update Ebiten Reference
* Switch references to point to D2Shared
* Migrate part 2
2019-11-17 00:16:33 -05:00

14 lines
239 B
Go

package d2coreinterface
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)
}