spx

package
v1.2.0-test.3 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GopPackage = true
	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 Gopt_Sprite_Clone__0 added in v1.1.8

func Gopt_Sprite_Clone__0(sprite interface{})

func Gopt_Sprite_Clone__1 added in v1.1.8

func Gopt_Sprite_Clone__1(sprite interface{}, data interface{})

func Gopt_Sprite_OnKey2 added in v1.2.0

func Gopt_Sprite_OnKey2(sprite interface{}, a string, fn func(key string))

func Gopt_Sprite_OnKey__0 added in v1.2.0

func Gopt_Sprite_OnKey__0(sprite interface{}, a string, fn func())

func Gopt_Sprite_OnKey__1 added in v1.2.0

func Gopt_Sprite_OnKey__1(sprite interface{}, a string, fn func(key string))

func Gopt_Sprite_OnKey__2 added in v1.2.0

func Gopt_Sprite_OnKey__2(sprite interface{}, a []string, fn func())

func Gopt_Sprite_OnKey__3 added in v1.2.0

func Gopt_Sprite_OnKey__3(sprite interface{}, a []string, fn func(key string))

func Gopt_Sprite_OnKey__4 added in v1.2.0

func Gopt_Sprite_OnKey__4(sprite interface{}, a []Mesher, fn func())

func Gopt_Sprite_OnKey__5 added in v1.2.0

func Gopt_Sprite_OnKey__5(sprite interface{}, a []Mesher, fn func(key Mesher))

func Gopt_Sprite_OnKey__6 added in v1.2.0

func Gopt_Sprite_OnKey__6(sprite interface{}, a []string, b []string, fn func(key string))

func Gopt_Sprite_OnKey__7 added in v1.2.0

func Gopt_Sprite_OnKey__7(sprite interface{}, a []string, b []Mesher, fn func(key string))

func Gopt_Sprite_OnKey__8 added in v1.2.0

func Gopt_Sprite_OnKey__8(sprite interface{}, x int, y int)

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 Entry added in v1.1.12

type Entry struct {
	// contains filtered or unexported fields
}

func (*Entry) Vector added in v1.1.12

func (p *Entry) Vector() *pkg.Vector

type Mesher added in v1.2.0

type Mesher interface {
	Name() string
}

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)

func (*MyGame) SendMessage added in v1.1.9

func (p *MyGame) SendMessage(data interface{})

type Sound

type Sound string

type Sprite

type Sprite struct {
	Entry
	// contains filtered or unexported fields
}

func (*Sprite) Position added in v1.1.9

func (p *Sprite) Position() *pkg.Vector

func (*Sprite) Say

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

func (*Sprite) SetCostume

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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