1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-14 00:06:45 -05:00
OpenDiablo2/Scenes/Scene.go
2019-10-26 02:11:28 -04:00

14 lines
230 B
Go

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