1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-10-31 16:27:18 -04:00
OpenDiablo2/d2corecommon/d2coreinterface/scene.go

14 lines
239 B
Go
Raw Normal View History

package d2coreinterface
2019-10-25 20:28:14 -04:00
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)
2019-10-25 20:28:14 -04:00
}