- add
void add(T instance, size_t threadID)
Adds an instance to the scene for interpreting its actions.
- add
void add(Instance[] instances, size_t threadID)
Adds multiple instances at a time.
- add
void add(T args)
Undocumented in source. Be warned that the author may not have intended to support it.
- getAssortedInstances
Instance[] getAssortedInstances()
Returns a assorted list of instances.
- getInstanceByClass
T getInstanceByClass()
Returns an object by its instance inheritor.
- getInstanceByMask
Instance getInstanceByMask(Shapef shape, Vecf position)
Returns instance(-s) by its mask.
- getInstanceByName
Instance getInstanceByName(string name)
Returns an instance by name.
- getInstanceByNameTag
Instance getInstanceByNameTag(string name, string tag)
Returns an instance by name and tag.
- getInstancesByMask
Instance[] getInstancesByMask(Shapef shape, Vecf position)
Returns instance(-s) by its mask.
- getInstancesByName
Instance[] getInstancesByName(string name)
Returns an instances by name.
- getThreadList
Instance[] getThreadList(size_t index)
Returns a buffer of instances from the thread.
- hasInstance
bool hasInstance(Instance instance)
Whether this instance is on the list.
- initThread
void initThread(size_t count)
Creates an instance buffer for the thread.
- instanceDestroy
void instanceDestroy(Instance instance, bool isRemoveHandle)
Removes an instance from the list and, if a delete method is
specified in the template, from memory.
- instanceDestroy
void instanceDestroy()
Destroys an instance from the scene or from memory, depending on the template argument, by its class.
- isThreadExists
bool isThreadExists(size_t index)
Is there such a thread buffer.
- sort
void sort()
- sortClear
void sortClear()
Clear sorted list of instances.
- worldCollision
void worldCollision()
Checks instances for collisions.
Scene object.