public SubsystemNode(SubsystemNode other) //TODO: (morgan) Make sure we don't want to copy preceeding nodes { IsChecked = other.IsChecked; // ScriptingEnabled = other.ScriptingEnabled; Subsystem = other.Subsystem; SubsystemAsset = other.SubsystemAsset; NAsset = other.NAsset; // SubsystemDependencies = new NodeDependencies(other.SubsystemDependencies); }
//public void setThreadNum(int threadNum) //{ // SubsystemDependencies.ThreadNum = threadNum; //} //public void enableScriptingSupport() //{ // ScriptingEnabled = true; // SubsystemDependencies.ScriptingEnabled = true; //} //public void disableScriptingSupport() //{ // ScriptingEnabled = false; // SubsystemDependencies.ScriptingEnabled = false; //} //public void setPyState(PythonState state) //{ // SubsystemDependencies.PyState = DeepCopy.Copy<PythonState>(state); //} //public PythonState getPyState() //{ // return SubsystemDependencies.PyState; //} public void addPreceedingNode(SubsystemNode node) { PreceedingNodes.Add(node); }