forked from Shardstone/trail-into-darkness
added encounter system
This commit is contained in:
@@ -0,0 +1,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 EncounterContext(IEncounter currentEncounter) {
|
||||
CurrentEncounter = currentEncounter;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user