Beispiel #1
0
        public void setProp(string aProperty, object aValue)
        {
            int featureIndex = aProperty.IndexOf('.');

            if ((featureIndex != -1))
            {
                string featurePath     = aProperty.Substring(0, featureIndex);
                string featureProperty = aProperty.Substring((featureIndex + 1));
                if ((featurePath == "Soundfile"))
                {
                    Soundfile.setProp(featureProperty, aValue);
                }
                if ((featurePath == "LocationSettings"))
                {
                    LocationSettings.setProp(featureProperty, aValue);
                }
            }
        }
Beispiel #2
0
        public void setProp(string aProperty, object aValue)
        {
            int featureIndex = aProperty.IndexOf('.');

            if ((featureIndex != -1))
            {
                string featurePath     = aProperty.Substring(0, featureIndex);
                string featureProperty = aProperty.Substring((featureIndex + 1));
                if ((featurePath == "Soundfile"))
                {
                    Soundfile.setProp(featureProperty, aValue);
                }
                if ((featurePath == "DialogChoice"))
                {
                    DialogChoice.setProp(featureProperty, aValue);
                }
            }
        }