Skip to content
ct

Class

AgeComponent

Generated GDScript class reference for CalendarTime.AgeComponent.

Status
Current
Version
v2.0.4
Updated
2026-08-09

Serves as a context for connecting to the AgeState for a game object

Source: addons/calendar_time/ageing/age_component.gd

Syntax

class AgeComponent extends Node

Members

NameKindSummary
AgeSignalBusFieldEmitted when the component's Age State changes `AgeSignalBus` is preloaded here to publish this component's age-state changes.
age_state_changedSignalEmitted when this component's current age state moves from one stage to another.
age_presetPropertyPreset that defines the age stages, thresholds, and visuals for this component.
clockPropertyThe clock this component ages with. Resolved from `clock.age_registry` so every component scoped to the same clock reads/writes the same hermetic registry. Two `AgeComponent`s bound to different clocks see different age states.
old_registryPropertyThe old registry before the swap, for cleanup.
carried_statePropertyState carried from the old clock across the rebind.
adopted_idPropertyID returned by register() after cross-registry adoption.
age_statePropertyReference to the AgeState of this AgeComponent
oldPropertySnapshot of the prior age state, kept for change comparison during a transition.
ensure_registry_resolvedMethod
has_age_registryMethod
get_age_signal_busMethod
transfer_stateMethod
to_dictMethod
from_dictMethod
AGE_STATE_IDFieldAge state identifier is serialized under this key.
get_keysMethod