global

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	EventBus   *mvc.EventBus
	Registry   *asset.Registry
	GameEngine *game.Engine
	CommonData *viewport.CommonData
}

type Controller

type Controller struct {
	*game.Controller
	// contains filtered or unexported fields
}

func NewController

func NewController(gameController *game.Controller) *Controller

func (*Controller) CommonData

func (c *Controller) CommonData() *viewport.CommonData

func (*Controller) OnCreate

func (c *Controller) OnCreate(window app.Window)

func (*Controller) OnDestroy

func (c *Controller) OnDestroy(window app.Window)

Jump to

Keyboard shortcuts

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