AgeComponent - acrimi/Raven GitHub Wiki
AgeComponent
tracks the time an entity instance has been alive. The age is tracked in terms of scene time, and so only increments when the entity is updated. This means that the age will not increase during times when the entity is outside of the current update scope.
Configuration
This component doesn't accept any configuration parameters
Properties
The following properties are readable by property accessors (eg render state and persistence definitions):
Key | Type | Description |
---|---|---|
age | float | The age, in seconds, of the entity since it was spawned |