Skip to content

Commit

Permalink
Exposed CurrentActionSequences with a Getter
Browse files Browse the repository at this point in the history
  • Loading branch information
JanWerder committed Dec 16, 2023
1 parent 6b4bbbb commit d262da7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion MountainGoap/Agent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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

View workflow job for this annotation

GitHub Actions / build

Field 'CurrentActionSequences' should begin with lower-case letter (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1306.md)

public List<List<Action>> GetCurrentActionSequences()
{
return CurrentActionSequences;
}

Check warning on line 27 in MountainGoap/Agent.cs

View workflow job for this annotation

GitHub Actions / build


/// <summary>
/// Initializes a new instance of the <see cref="Agent"/> class.
Expand Down

0 comments on commit d262da7

Please sign in to comment.