scene

package
v0.0.0-...-6aa7f09 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func System

func System(g *gorge.Context)

Types

type Context

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

func FromContext

func FromContext(g *gorge.Context) *Context

type EventAttached

type EventAttached struct {
	Gorge *gorge.Context
}

type Scene

type Scene struct {
	event.Bus
	gorge.Container

	Name string
	// contains filtered or unexported fields
}

func New

func New(name string) *Scene

func (*Scene) Add

func (s *Scene) Add(e ...gorge.Entity)

func (*Scene) G

func (s *Scene) G() *gorge.Context

func (*Scene) GetScene

func (s *Scene) GetScene() *Scene

func (*Scene) OnInit

func (s *Scene) OnInit(fn func(*gorge.Context))

func (*Scene) Remove

func (s *Scene) Remove(e ...gorge.Entity)

func (Scene) String

func (s Scene) String() string

Jump to

Keyboard shortcuts

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