mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-04 17:27:16 -05:00
14 lines
235 B
Go
14 lines
235 B
Go
package d2interface
|
|
|
|
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)
|
|
}
|