ecs

package
v0.19.9 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entity

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

func NewEntity

func NewEntity() *Entity

func (*Entity) With

func (e *Entity) With(component any) *Entity

type System

type System interface{}

type World

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

func NewWorld

func NewWorld() *World

func (*World) Update

func (w *World) Update() error

func (*World) WithEntity

func (w *World) WithEntity(entity *Entity) *World

func (*World) WithSystem

func (w *World) WithSystem(system System) *World

Jump to

Keyboard shortcuts

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