Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
RemoveBuffer = 64
)
Functions ¶
This section is empty.
Types ¶
type ID ¶
type ID = uint64
ID represents an identifier for a unique entity in a manager. It is aliased to uint64 to provide compile-time optimization and to reduce the number of type casts necessary when, for example, serializing it.
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager ties together entities and systems.
func NewManager ¶
func NewManager() *Manager
func (*Manager) AddSystem ¶
AddSystem adds a system to the manager to be executed on subsequent calls to update. Systems are executed in the order in which they are added.
func (*Manager) RemoveSystem ¶
RemoveSystem removes a system from the manager. It will not execute during the next call to update.
Click to show internal directories.
Click to hide internal directories.