spx

package
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GopPackage = true
	Gop_game   = "*MyGame"
	Gop_sched  = "Sched,SchedNow"
)

Variables

View Source
var (
	TestIntValue int
)

Functions

func Gopt_MyGame_Main added in v1.0.10

func Gopt_MyGame_Main(game interface{})

func Gopt_MyGame_Run added in v1.0.5

func Gopt_MyGame_Run(game interface{}, resource string) error

func Rand__0 added in v1.0.36

func Rand__0(int) int

func Rand__1 added in v1.0.36

func Rand__1(float64) float64

func Sched added in v1.0.5

func Sched()

func SchedNow added in v1.0.5

func SchedNow()

Types

type MyGame added in v1.0.5

type MyGame struct {
}

func (*MyGame) Broadcast__0 added in v1.0.5

func (p *MyGame) Broadcast__0(msg string)

func (*MyGame) Broadcast__1 added in v1.0.5

func (p *MyGame) Broadcast__1(msg string, wait bool)

func (*MyGame) Broadcast__2 added in v1.0.5

func (p *MyGame) Broadcast__2(msg string, data interface{}, wait bool)

func (*MyGame) Play added in v1.0.5

func (p *MyGame) Play(media string, wait ...bool)

type Sound

type Sound string

type Sprite

type Sprite struct {
}

func (*Sprite) Clone

func (p *Sprite) Clone(data ...interface{}) *Sprite

func (*Sprite) Say

func (p *Sprite) Say(msg string, secs ...float64)

func (*Sprite) SetCostume

func (p *Sprite) SetCostume(costume interface{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL