Implemented scene events and callback handlers for those events. Manager defaults also added.

This commit is contained in:
2023-08-23 01:24:43 -04:00
parent f2b3f371c4
commit 5da470937e
6 changed files with 179 additions and 59 deletions

View File

@@ -0,0 +1,13 @@
package splashmenu
import (
"cosmos/diego/groovy"
"github.com/hajimehoshi/ebiten/v2"
)
type MenuOption struct {
Description string
SelectionEvent groovy.SceneEvent
Mapping ebiten.Key
}