public interface Component
| Modifier and Type | Method and Description |
|---|---|
void |
onAdded(Entity entity)
Called when component is added to an entity.
|
void |
onRemoved(Entity entity)
Called when component is removed from an entity.
|
void onAdded(Entity entity)
entity - the entity to which this component was addedvoid onRemoved(Entity entity)
entity - the entity from which this component is removedCopyright © 2017. All rights reserved.