system

package
v0.0.0-...-f4fbe18 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2023 License: CC0-1.0, MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Animation

type Animation struct {
	*component.Sprite
}

func NewAnimation

func NewAnimation() *Animation

func (*Animation) Update

func (a *Animation) Update(_ engine.World)

type Collision

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

func NewCollision

func NewCollision() *Collision

func (*Collision) Update

func (c *Collision) Update(w engine.World)

type Connection

type Connection struct{}

func NewConnection

func NewConnection() *Connection

func (*Connection) Update

func (c *Connection) Update(w engine.World)

type Debug

type Debug struct{}

func NewDebug

func NewDebug() *Debug

func (*Debug) Draw

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

type Focus

type Focus struct{}

func NewFocus

func NewFocus() *Focus

func (*Focus) Update

func (f *Focus) Update(w engine.World)

type Gravity

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

func NewGravity

func NewGravity() *Gravity

func (*Gravity) Update

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

type Player

type Player struct{}

func NewPlayer

func NewPlayer() *Player

func (*Player) Draw

func (p *Player) Draw(w engine.World, screen *ebiten.Image)

func (*Player) Update

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

type Rendering

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

func NewRendering

func NewRendering(w, h int) *Rendering

func (*Rendering) Draw

func (t *Rendering) Draw(w engine.World, screen *ebiten.Image)

type Velocity

type Velocity struct {
	*component.Pos
	*component.Vel
}

func NewVelocity

func NewVelocity() *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