made some improvements on how the encounters trigger
This commit is contained in:
@@ -2,6 +2,10 @@ 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;
|
||||
|
||||
Reference in New Issue
Block a user