systems

package
v0.0.0-...-f4671c2 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Debug

func (*Debug) Draw

func (d *Debug) Draw(w engine.World, screen *ebiten.Image)

func (*Debug) Update

func (d *Debug) Update(w engine.World)

type Gravity

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

func (*Gravity) Update

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

type Player

func (*Player) Update

func (p *Player) Update(w engine.World)

type Render

type Render struct {
	*components.Camera
	*components.Position
}

func (*Render) Draw

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

type ScreenEdgeTransition

type ScreenEdgeTransition struct {
	*components.Position
	*components.Hitbox
}

func (*ScreenEdgeTransition) Update

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

type Velocity

type Velocity struct {
	*components.Position
	*components.Velocity
	*components.Hitbox
}

func (*Velocity) Update

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

Jump to

Keyboard shortcuts

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