namespace Jovian.EncounterSystem {
    /// <summary>Per-resolution scratch object passed to every event handler. Extend with fields as handlers need them.</summary>
    public class EncounterContext {
        public IEncounter CurrentEncounter { get; }
        public EncounterRegistry Registry { get; set; }

        /// <summary>Set to <c>true</c> to halt processing of remaining events.</summary>
        public bool ShouldStopEvents { get; set; }

        public EncounterContext(IEncounter currentEncounter) {
            CurrentEncounter = currentEncounter;
        }
    }
}
