Tons of experimental updates.
This commit is contained in:
9
scenes/scene.go
Normal file
9
scenes/scene.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package scenes
|
||||
|
||||
import "github.com/hajimehoshi/ebiten/v2"
|
||||
|
||||
type Scene interface {
|
||||
Update() error
|
||||
Draw(screen *ebiten.Image)
|
||||
Layout(outsideWidth, outsideHeight int) (screenWidth, screenHeight int)
|
||||
}
|
||||
Reference in New Issue
Block a user