mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-10-31 16:27:18 -04:00
1c2b4869a1
* Switch items to dynamic load with a common struct, add misc.txt loading * Update Ebiten Reference * Switch references to point to D2Shared * Migrate part 2
14 lines
239 B
Go
14 lines
239 B
Go
package d2coreinterface
|
|
|
|
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)
|
|
}
|