Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntityMapKey ¶
type EntityMapKey struct {
// contains filtered or unexported fields
}
EntityMapKey is the tuple key for the entities map
func NewEntityMapKey ¶
func NewEntityMapKey(ent entity.Entity) EntityMapKey
NewEntityMapKey constructs a new EntityMapKey from an Entity
type Handler ¶
type Handler interface {
// HandleEntityAdded handles a new entity being added to the store.
HandleEntityAdded(ent entity.Entity)
// HandleEntityRemoved handles a entity being removed from the store.
HandleEntityRemoved(ent entity.Entity)
}
Handler handles store events.
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store tracks, refcounts, and de-duplicates known entities.
func (*Store) AddEntityObj ¶
AddEntityObj adds an entity object to the store.
Click to show internal directories.
Click to hide internal directories.