public ModuleContainer(params WorldValue[] newValues) { Settings = new WorldSettings(); TestAgentFactory AgentFactory = new TestAgentFactory(); MyWorldGrid = new WorldGrid(Settings.GetSettings()); for (int i = 0; i < Settings.GetRealValue("AgentCount"); i++) { AgentFactory.CreateAgent(MyWorldGrid); } MyWorldGrid.Started = true; }
public ModuleContainer() { AgentFactory = new TestAgentFactory(); WorldGrid = new WorldGrid(); }