-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exposed CurrentActionSequences with a Getter
- Loading branch information
Showing
1 changed file
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,12 @@ public class Agent { | |
/// <summary> | ||
/// Chains of actions currently being performed by the agent. | ||
/// </summary> | ||
internal List<List<Action>> CurrentActionSequences = new(); | ||
private List<List<Action>> CurrentActionSequences = new(); | ||
Check warning on line 22 in MountainGoap/Agent.cs GitHub Actions / build
|
||
|
||
public List<List<Action>> GetCurrentActionSequences() | ||
{ | ||
return CurrentActionSequences; | ||
} | ||
Check warning on line 27 in MountainGoap/Agent.cs GitHub Actions / build
|
||
|
||
/// <summary> | ||
/// Initializes a new instance of the <see cref="Agent"/> class. | ||
|