systems

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCollision

func NewCollision() core.System

NewCollision ...

func NewMovement

func NewMovement(em core.EntityManager) core.System

NewMovement ...

func NewRendering

func NewRendering() core.System

NewRendering ...

Types

type Collision

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

Collision ...

func (*Collision) Error

func (a *Collision) Error() error

func (*Collision) Process

func (a *Collision) Process(em core.EntityManager) (state int)

func (*Collision) Setup

func (a *Collision) Setup()

func (*Collision) Teardown

func (a *Collision) Teardown()

func (*Collision) WithHeight

func (a *Collision) WithHeight(height int) *Collision

func (*Collision) WithWidth

func (a *Collision) WithWidth(width int) *Collision

type Movement

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

Movement ...

func (*Movement) Error

func (a *Movement) Error() (err error)

func (*Movement) Process

func (a *Movement) Process(em core.EntityManager) (state int)

func (*Movement) Setup

func (a *Movement) Setup()

func (*Movement) Teardown

func (a *Movement) Teardown()

type Rendering

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

Rendering ...

func (*Rendering) Error

func (a *Rendering) Error() error

func (*Rendering) Process

func (a *Rendering) Process(em core.EntityManager) (state int)

func (*Rendering) Setup

func (a *Rendering) Setup()

func (*Rendering) Teardown

func (a *Rendering) Teardown()

func (*Rendering) WithHeight

func (a *Rendering) WithHeight(height int) *Rendering

func (*Rendering) WithPlugins

func (a *Rendering) WithPlugins(plugins ...core.Plugin) *Rendering

func (*Rendering) WithTitle

func (a *Rendering) WithTitle(title string) *Rendering

func (*Rendering) WithWidth

func (a *Rendering) WithWidth(width int) *Rendering

Jump to

Keyboard shortcuts

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