onEntityComponentAdded

System::onEntityComponentAdded

Callback called when an Entity receives a Component tracked by this system.

Declaration

virtual void onEntityComponentAdded(Entity entity, Component componentID);

Parameters

Name

Type

Description

entity

Entity

The Entity that got the Component.

componentID

Component

The added Component’s identifier.

Returns

None.

Notes

This function is meant to be overloaded by the System and is called when an Entity receives a Component tracked by this system.