Skip to content

Commit

Permalink
Can implement original composite agents
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuniwak committed Nov 7, 2023
1 parent 40d102b commit b8e2dbb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Runtime/Agents/AbstractAgent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ public abstract class AbstractAgent : ScriptableObject
/// <summary>
/// Logger instance used by this agent
/// </summary>
public ILogger Logger { get; internal set; }
public ILogger Logger { get; set; }

/// <summary>
/// Random instance used by this agent
/// </summary>
public virtual IRandom Random { get; internal set; }
public virtual IRandom Random { get; set; }

/// <summary>
/// Run agent
Expand Down
2 changes: 1 addition & 1 deletion Runtime/Agents/AbstractCompositeAgent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public abstract class AbstractCompositeAgent : AbstractAgent
/// <inheritdoc />
public override IRandom Random
{
internal set
set
{
base.Random = value;
RandomFactory = new RandomFactory(base.Random.Next());
Expand Down

0 comments on commit b8e2dbb

Please sign in to comment.