1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-06-29 18:45:23 +00:00
OpenDiablo2/scenes/Scene.go

14 lines
230 B
Go
Raw Normal View History

2019-11-07 03:12:15 +00:00
package scenes
2019-10-26 00:28:14 +00: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-26 00:28:14 +00:00
}