ashd.core.componentMatchingFamily

The default class for managing a NodeList. This class creates the NodeList and adds and removes nodes to/from the list as the entities and the components in the engine change.

It uses the basic entity matching pattern of an entity system - entities are added to the list if they contain components matching all the public properties of the node class.

Members

Classes

ComponentMatchingFamily
class ComponentMatchingFamily(Class)
Undocumented in source.

Templates

fieldsOf
template fieldsOf(T)

Evaluates to an array of strings containing the names of the fields in the given type

fieldsOfImpl
template fieldsOfImpl(T, size_t i)

Implementation for fieldsOf

nameOfFieldAt
template nameOfFieldAt(T, size_t position)

Evaluates to a string containing the name of the field at given position in the given type.

Meta