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

Interface Identifier

entity.go:24–26  ·  view source on GitHub ↗

Identifier is an interface for anything that implements the basic ID() uint64, as the BasicEntity does. It is useful as more specific interface for an entity registry than just the interface{} interface

Source from the content-addressed store, hash-verified

22// as the BasicEntity does. It is useful as more specific interface for an
23// entity registry than just the interface{} interface
24type Identifier interface {
25 ID() uint64
26}
27
28// IdentifierSlice implements the sort.Interface, so you can use the
29// store entites in slices, and use the P=n*log n lookup for them

Callers 8

RemoveMethod · 0.65
RemoveMethod · 0.65
RemoveMethod · 0.65
TestRemoveChildFunction · 0.65
TestDescendentsFunction · 0.65
RemoveChildMethod · 0.65
descendentsFunction · 0.65
LessMethod · 0.65

Implementers 1

BasicEntityentity.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…