mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-09-06 19:44:15 -04:00
14 lines
230 B
Go
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)
|
|
}
|