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

Method AddByInterface

system.go:27–27  ·  view source on GitHub ↗

AddByInterface allows you to automatically add entities based on the interfaces that the entity implements. It should add the entity passed as o to the system after casting it to the correct interface.

(o Identifier)

Source from the content-addressed store, hash-verified

25 // interfaces that the entity implements. It should add the entity passed
26 // as o to the system after casting it to the correct interface.
27 AddByInterface(o Identifier)
28}
29
30// Prioritizer specifies the priority of systems.

Callers 1

AddEntityMethod · 0.65

Implementers 5

simpleSystemworld_test.go
MySystemOneentity_test.go
MySystemOneTwoentity_test.go
MySystemTwoentity_test.go

Calls

no outgoing calls

Tested by

no test coverage detected