Documentation
¶
Index ¶
- Constants
- Variables
- func Gopt_MyGame_Main(game any)
- func Gopt_MyGame_Run(game any, resource string) error
- func Gopt_Sprite_Clone__0(sprite any)
- func Gopt_Sprite_Clone__1(sprite any, data any)
- func Gopt_Sprite_OnKey2(sprite any, a string, fn func(key string))
- func Gopt_Sprite_OnKey__0(sprite any, a string, fn func())
- func Gopt_Sprite_OnKey__1(sprite any, a string, fn func(key string))
- func Gopt_Sprite_OnKey__2(sprite any, a []string, fn func())
- func Gopt_Sprite_OnKey__3(sprite any, a []string, fn func(key string))
- func Gopt_Sprite_OnKey__4(sprite any, a []Mesher, fn func())
- func Gopt_Sprite_OnKey__5(sprite any, a []Mesher, fn func(key Mesher))
- func Gopt_Sprite_OnKey__6(sprite any, a []string, b []string, fn func(key string))
- func Gopt_Sprite_OnKey__7(sprite any, a []string, b []Mesher, fn func(key string))
- func Gopt_Sprite_OnKey__8(sprite any, x int, y int)
- func Rand__0(int) int
- func Rand__1(float64) float64
- func Sched()
- func SchedNow()
- type Entry
- type Mesher
- type MyGame
- func (p *MyGame) Broadcast__0(msg string)
- func (p *MyGame) Broadcast__1(msg string, wait bool)
- func (p *MyGame) Broadcast__2(msg string, data any, wait bool)
- func (p *MyGame) Capout(doSth func()) (string, error)
- func (p *MyGame) Gop_Env(name string) int
- func (p *MyGame) Gop_Exec(name string, args ...any)
- func (p *MyGame) InitGameApp(args ...string)
- func (p *MyGame) Ls(n int)
- func (p *MyGame) Play(media string, wait ...bool)
- func (p *MyGame) SendMessage(data any)
- type Sound
- type Sprite
Constants ¶
View Source
const ( GopPackage = "github.com/goplus/xgo/cl/internal/spx/pkg" Gop_sched = "Sched,SchedNow" )
Variables ¶
View Source
var (
TestIntValue int
)
Functions ¶
func Gopt_MyGame_Main ¶
func Gopt_MyGame_Main(game any)
func Gopt_MyGame_Run ¶
func Gopt_Sprite_Clone__0 ¶
func Gopt_Sprite_Clone__0(sprite any)
func Gopt_Sprite_Clone__1 ¶
func Gopt_Sprite_OnKey2 ¶
func Gopt_Sprite_OnKey__0 ¶
func Gopt_Sprite_OnKey__1 ¶
func Gopt_Sprite_OnKey__2 ¶
func Gopt_Sprite_OnKey__3 ¶
func Gopt_Sprite_OnKey__4 ¶
func Gopt_Sprite_OnKey__5 ¶
func Gopt_Sprite_OnKey__6 ¶
func Gopt_Sprite_OnKey__7 ¶
func Gopt_Sprite_OnKey__8 ¶
Types ¶
type MyGame ¶
type MyGame struct {
}
func (*MyGame) Broadcast__0 ¶
func (*MyGame) Broadcast__1 ¶
func (*MyGame) InitGameApp ¶
func (*MyGame) SendMessage ¶
Click to show internal directories.
Click to hide internal directories.