Skip to content
ct

Class

ClockGroup

Generated GDScript class reference for CalendarTime.ClockGroup.

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

ClockGroup — save/load coordination across multiple clocks. Owned by TimeHost; not a separately-authored .tres. Holds Array[GameClock] and provides save_all, load_all, and advance_all. Not a save target itself — see GameClock.advance_to_next_day for per-clock days.

Source: addons/calendar_time/game_time/state/clock_group.gd

Syntax

class ClockGroup extends RefCounted

Members

NameKindSummary
clocksPropertyThe clocks this group aggregates. Order is preserved in save/load.
save_keyPropertyThe key under which this group's clock dicts are namespaced in the save dict. Defaults to `"clocks"` so a single-group game gets correct namespacing by default. Set to a per-group unique string when you have multiple `ClockGroup`s whose save dicts might be merged.
save_allMethod
load_allMethod
advance_allMethod