using System; using Cthangover.Core.Cards.StatusEffect; namespace Cthangover.Core.Factories.Impls { /// /// Thin FileFactory for status effect metadata — duration, stack /// behaviour, visual icon, etc. Works in tandem with /// StatusEffectActionFactory: this factory provides the data /// (what the effect is), while the action factory provides the /// behaviour (what the effect does each turn). Files are discovered /// by the shared entity resolver through the DTO's /// [EntityKind("status_effect")] attribute. /// public class StatusEffectInfoFactory : FileFactory { private static readonly Lazy lazy = new(() => new StatusEffectInfoFactory()); /// Lazy singleton facade over the AppServices-owned factory. public static StatusEffectInfoFactory Instance => lazy.Value; } }