systems

package
v0.0.0-...-f0e05c5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NRGBA

func NRGBA(rgbData []byte) []byte

Types

type Chassis

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

func (*Chassis) Add

func (c *Chassis) Add(basicEntity *ecs.BasicEntity,
	controllerComponent *components.Chassis)

func (*Chassis) New

func (c *Chassis) New(w *ecs.World)

func (*Chassis) Remove

func (c *Chassis) Remove(basicEntity ecs.BasicEntity)

func (*Chassis) Update

func (c *Chassis) Update(dt float32)

type Gun

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

func (*Gun) Add

func (c *Gun) Add(basicEntity *ecs.BasicEntity,
	gunComponent *components.Gun)

func (*Gun) New

func (c *Gun) New(w *ecs.World)

func (*Gun) Remove

func (c *Gun) Remove(basicEntity ecs.BasicEntity)

func (*Gun) Update

func (c *Gun) Update(dt float32)

type Video

type Video struct {
	Camera *camera.Camera
	// contains filtered or unexported fields
}

func (*Video) Add

func (v *Video) Add()

func (*Video) DataHandler

func (v *Video) DataHandler(frame *camera.RGB)

func (*Video) New

func (v *Video) New(w *ecs.World)

func (*Video) Remove

func (v *Video) Remove(basic ecs.BasicEntity)

func (*Video) Update

func (v *Video) Update(dt float32)

Jump to

Keyboard shortcuts

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