Versions in this module Expand all Collapse all v1 v1.0.0 Jun 13, 2022 Changes in this version + var ErrUnregister = errors.New("unregister system") + func AddSystem(system System) + func CurrentDraws() int + func CurrentEntities() int + func CurrentUpdates() int + func Draw(screen *ebiten.Image) error + func Preallocate(entities int) + func Reset() + func Update() error + type Entity int + func AllEntities() []Entity + func NewEntity() Entity + func (e Entity) AddComponent(component interface{}) + func (e Entity) Remove() bool + func (e Entity) With(f interface{}) + type System interface + Draw func(e Entity, screen *ebiten.Image) error + Update func(e Entity) error