public AgentBase(string agentType, IIndicatorProvider indicatorProvider) { AgentType = agentType; Position = new Vector2(0.0f); Indicators = indicatorProvider.CreateIndicatorCollection(); _modifiers = new VersionedCollection <IModifier>(new SimpleSortedList <IModifier>(StatModelComparer)); _labels = new VersionedCollection <ILabel>(new HashSet <ILabel>()); _commands = new VersionedCollection <IAgentCommand>(new HashSet <IAgentCommand>()); _stats = new BaseStatsModel(); }
public AttackEventArgs(IAgent source, IAgent target) { Source = source; Target = target; StatsDelta = new BaseStatsModel(); }