From d262da78486c3b6900fb6ca16fba9cbe48d63ce1 Mon Sep 17 00:00:00 2001 From: Jan Date: Sat, 16 Dec 2023 23:02:31 +0100 Subject: [PATCH] Exposed CurrentActionSequences with a Getter --- MountainGoap/Agent.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/MountainGoap/Agent.cs b/MountainGoap/Agent.cs index 3551c0a..cb54c2c 100644 --- a/MountainGoap/Agent.cs +++ b/MountainGoap/Agent.cs @@ -19,7 +19,12 @@ public class Agent { /// /// Chains of actions currently being performed by the agent. /// - internal List> CurrentActionSequences = new(); + private List> CurrentActionSequences = new(); + + public List> GetCurrentActionSequences() + { + return CurrentActionSequences; + } /// /// Initializes a new instance of the class.