/// <summary> /// The constructor for the SimObject. /// </summary> /// <param name="id"></param> public SimObject(String id) { m_id = id; m_velocity = new VelocityValue(); m_location = new LocationValue(); m_destination = new LocationValue(); m_vulnerabilityList = new List <string>(); m_capabilityList = new List <string>(); m_dockedObjects = new List <string>(); m_dockedWeapons = new List <string>(); m_childObjects = new List <string>(); m_agent = new ObjectControlAgent(); m_agent.simObject = this; m_inActiveRegions = new List <string>(); }
/// <summary> /// The constructor for the SimObject. /// </summary> /// <param name="id"></param> public SimObject(String id) { m_id = id; m_velocity = new VelocityValue(); m_location = new LocationValue(); m_destination = new LocationValue(); m_vulnerabilityList = new List<string>(); m_capabilityList = new List<string>(); m_dockedObjects = new List<string>(); m_dockedWeapons = new List<string>(); m_childObjects = new List<string>(); m_agent = new ObjectControlAgent(); m_agent.simObject = this; m_inActiveRegions = new List<string>(); }