Class ClockYearChangedEvent
Fired when the clock crosses a year boundary. Before and After carry the date snapshot before and after the advance.
Inherited Members
Namespace: Scylla.Core.Time
Assembly: ScyllaCore.dll
Syntax
public sealed class ClockYearChangedEvent : ClockEvent
Constructors
ClockYearChangedEvent(string, GameDate, GameDate, bool)
Initializes a year-changed event with the clock ID, before/after dates, and direction.
Declaration
public ClockYearChangedEvent(string clockID, GameDate before, GameDate after, bool isReversing)
Parameters
| Type | Name | Description |
|---|---|---|
| string | clockID | |
| GameDate | before | |
| GameDate | after | |
| bool | isReversing |
Properties
Kind
Discriminator identifying which concrete subclass this event is.
Declaration
public override ClockEventKind Kind { get; }
Property Value
| Type | Description |
|---|---|
| ClockEventKind |