World Methods

TinyEcs

World Methods

[This is preliminary documentation and is subject to change.]

The World type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreate
Create a new instance of a world. Will automatically create all ComponentSystems it can find and inject their dependencies.
Public methodCreateArchetype(Type)
Create a new archetype.
Public methodCreateArchetype(Archetype)
Create a new archetype by combining archetypes.
Public methodCreateArchetype(Archetype, Type)
Derive a new archetype from an existing archetype.
Public methodCreateArchetype(Archetype, Type)
Derive a new archetype from multiple archetypes.
Public methodCreateEntity
Create a new entity.
Public methodDestroyEntity
Destroy an existing entity.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetArchetype
Get the archetype of an entity.
Public methodGetDependencyT
Gets a resource that has been injected as a dependency in a ComponentSystem.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPost
Post a message and let all eligible systems handle it.
Public methodRefT
Get a reference to a component belonging to an entity.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also