MCPcopy Create free account
hub / github.com/EngoEngine/ecs / Add

Method Add

system_test.go:79–81  ·  view source on GitHub ↗
(b BasicEntity, p *PriorityComponent)

Source from the content-addressed store, hash-verified

77}
78
79func (s *SystemAddRemove) Add(b BasicEntity, p *PriorityComponent) {
80 s.entities = append(s.entities, PriorityEntity{b, p})
81}
82
83func (s *SystemAddRemove) Remove(basic BasicEntity) {
84 delete := -1

Callers 2

TestAddRemoveFunction · 0.95
TestSystemPriorityFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected