system

package
v0.0.0-...-199b75a Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: CC0-1.0, MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Gravity *gravity = &gravity{
	query: donburi.NewQuery(
		filter.Contains(
			component.Velocity,
			component.Gravity,
		)),
}
View Source
var UsePositionOrdering bool
View Source
var Velocity = &velocity{
	query: donburi.NewQuery(
		filter.Contains(
			component.Position,
			component.Velocity,
		)),
}

Functions

func DrawBackground

func DrawBackground(ecs *ecs.ECS, screen *ebiten.Image)

func NewBounce

func NewBounce(bounds *image.Rectangle) *bounce

Types

type Metrics

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

func NewMetrics

func NewMetrics(bounds *image.Rectangle) *Metrics

func (*Metrics) Draw

func (m *Metrics) Draw(ecs *ecs.ECS, screen *ebiten.Image)

func (*Metrics) Update

func (m *Metrics) Update(ecs *ecs.ECS)

type Spawn

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

func NewSpawn

func NewSpawn() *Spawn

func (*Spawn) Update

func (s *Spawn) Update(ecs *ecs.ECS)

Jump to

Keyboard shortcuts

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