Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntityManager ¶
type EntityManager struct {
// contains filtered or unexported fields
}
func (*EntityManager) Init ¶
func (mgr *EntityManager) Init()
func (*EntityManager) NewEntity ¶
func (mgr *EntityManager) NewEntity() EntityId
AddEntity adds an entity to the manager, and assigns it a world-unique EntityId. NewEntity creates a world-unique entityId in the manager and returns it.
func (*EntityManager) RemoveEntityById ¶
func (mgr *EntityManager) RemoveEntityById(entityId EntityId)
RemoveEntity removes an entity from the manager.
Click to show internal directories.
Click to hide internal directories.