/// <summary> /// Constructor to initialize the lists. /// </summary> public SimulationState() { TimeStamp = DateTime.Now; BugStates = new Collection <BugState>(); FruitStates = new Collection <FruitState>(); TeamStates = new Collection <TeamState>(); SugarStates = new Collection <SugarState>(); CustomFields = new CustomState(); }
/// <summary> /// Constructor to initialize the lists. /// </summary> public SimulationState() { m_timeStamp = DateTime.Now; bugStates = new Collection <BugState>(); fruitStates = new Collection <FruitState>(); teamStates = new Collection <TeamState>(); sugarStates = new Collection <SugarState>(); m_customFields = new CustomState(); }