mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-06 18:27:20 -05: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)
|
|
}
|