system

package
v0.0.0-...-89ec988 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: CC0-1.0, MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Background

type Background struct{}

func (*Background) Draw

func (b *Background) Draw(_ engine.World, screen *ebiten.Image)

type Bounce

type Bounce struct {
	*component.Position
	*component.Velocity
	*component.Sprite
}

func (*Bounce) Update

func (b *Bounce) Update(w engine.World)

type Gravity

type Gravity struct {
	*component.Velocity
	*component.Gravity
}

func (*Gravity) Update

func (g *Gravity) Update(_ engine.World)

type Metrics

type Metrics struct {
	*component.Settings
}

func (*Metrics) Draw

func (m *Metrics) Draw(w engine.World, screen *ebiten.Image)

func (*Metrics) Update

func (m *Metrics) Update(w engine.World)

type Render

type Render struct {
	*component.Position
	*component.Sprite
	*component.Hue
}

func (*Render) Draw

func (r *Render) Draw(_ engine.World, screen *ebiten.Image)

type Spawn

type Spawn struct {
	*component.Settings
}

func (*Spawn) Update

func (s *Spawn) Update(w engine.World)

type Velocity

type Velocity struct {
	*component.Position
	*component.Velocity
}

func (*Velocity) Update

func (v *Velocity) Update(_ engine.World)

Jump to

Keyboard shortcuts

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