non-working ebitenbind .aar attempt
This commit is contained in:
parent
81e8e7cc4a
commit
7b6597cb6f
1 changed files with 18 additions and 0 deletions
18
skullsebitenbind/main.go
Normal file
18
skullsebitenbind/main.go
Normal 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() {}
|
Loading…
Add table
Reference in a new issue