entity

package
v0.0.0-...-c982c26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2014 License: MIT Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL