예제 #1
0
        public void AddModifier(IModifier modifier)
        {
            _modifiers.Add(modifier);

            if (modifier is IAgentStatsModifier)
            {
                CalculateAgentStats();
            }
        }
예제 #2
0
 public void AddAgent(IExtendedAgent agent) => _agents.Add(agent);