Repository URL to install this package:
Version:
1.4.6 ▾
|
package main
import (
"fmt"
"github.com/goplus/gop/cl/internal/spx3"
"github.com/goplus/gop/cl/internal/spx3/jwt"
)
type Kai struct {
spx3.Sprite
*Game
}
type Game struct {
spx3.Game
Kai Kai
}
func (this *Game) MainEntry() {
this.Run()
}
func (this *Game) Main() {
_gop_obj0 := &Kai{Game: this}
spx3.Gopt_Game_Main(this, _gop_obj0)
}
func (this *Kai) Main(_gop_arg0 string) {
this.Sprite.Main(_gop_arg0)
fmt.Println(jwt.Token("Hi"))
}
func (this *Kai) Classfname() string {
return "Kai"
}
func (this *Kai) Classclone() spx3.Handler {
_gop_ret := *this
return &_gop_ret
}
func main() {
new(Game).Main()
}