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

Interface SystemAddByInterfacer

system.go:21–28  ·  view source on GitHub ↗

SystemAddByInterfacer is a system that also implements the AddByInterface method

Source from the content-addressed store, hash-verified

19
20// SystemAddByInterfacer is a system that also implements the AddByInterface method
21type SystemAddByInterfacer interface {
22 System
23
24 // AddByInterface allows you to automatically add entities based on the
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.
31type Prioritizer interface {

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

Used in the wild real call sites across dependent graphs

searching dependent graphs…