non-working ebitenbind .aar attempt

This commit is contained in:
rootVIII 2021-05-27 11:40:11 -04:00
parent 81e8e7cc4a
commit 7b6597cb6f

18
skullsebitenbind/main.go Normal file
View file

@ -0,0 +1,18 @@
package skullsebitenbind
import (
"github.com/hajimehoshi/ebiten/v2/mobile"
"github.com/rootVIII/skulls"
)
func init() {
sp, err := skulls.Play()
if err != nil {
panic(err)
}
mobile.SetGame(sp)
}
// Dummy forces gomobile to compile this package.
func Dummy() {}