public Mouth(AnimatTools.Framework.DataObject doParent)
            : base(doParent)
        {
            Alpha = 128;
            Color = Color.LightBlue;
            this.m_fRadius = 0.1f;

            m_snMinimumFoodRadius = new ScaledNumber(this, "MinimumFoodRadius", 10, ScaledNumber.enumNumericScale.centi, "meters", "m");

            m_thDataTypes.DataTypes.Clear();
            m_thDataTypes.DataTypes.Add(new AnimatTools.DataObjects.DataType("BodyPositionX", "Position X Axis", "Meters", "m", -10, 10));
            m_thDataTypes.DataTypes.Add(new AnimatTools.DataObjects.DataType("BodyPositionY", "Position Y Axis", "Meters", "m", -10, 10));
            m_thDataTypes.DataTypes.Add(new AnimatTools.DataObjects.DataType("BodyPositionZ", "Position Z Axis", "Meters", "m", -10, 10));
            m_thDataTypes.DataTypes.Add(new AnimatTools.DataObjects.DataType("EatingRate", "Eating Rate", "", "", 0, 100));
            m_thDataTypes.ID = "EatingRate";

            this.ID = "MOUTH";
        }
        public Stomach(AnimatTools.Framework.DataObject doParent)
            : base(doParent)
        {
            Alpha = 128;
            Color = Color.LightBlue;
            this.m_fRadius = 0.1f;

            m_snMaxEnergyLevel = new ScaledNumber(this, "MaxEnergyLevel", 100, ScaledNumber.enumNumericScale.Kilo, "Calories", "C");
            m_snEnergyLevel = new ScaledNumber(this, "EnergyLevel", 10, ScaledNumber.enumNumericScale.Kilo, "Calories", "C");
            m_snBaseConsumptionRate = new ScaledNumber(this, "BaseConsumptionRate", 10, ScaledNumber.enumNumericScale.None, "C/s", "C/s");

            m_thDataTypes.DataTypes.Clear();
            m_thDataTypes.DataTypes.Add(new AnimatTools.DataObjects.DataType("BodyPositionX", "Position X Axis", "Meters", "m", -10, 10));
            m_thDataTypes.DataTypes.Add(new AnimatTools.DataObjects.DataType("BodyPositionY", "Position Y Axis", "Meters", "m", -10, 10));
            m_thDataTypes.DataTypes.Add(new AnimatTools.DataObjects.DataType("BodyPositionZ", "Position Z Axis", "Meters", "m", -10, 10));
            m_thDataTypes.DataTypes.Add(new AnimatTools.DataObjects.DataType("EnergyLevel", "Energy Level", "", "", -10000, 10000));
            m_thDataTypes.DataTypes.Add(new AnimatTools.DataObjects.DataType("ConsumptionRate", "Consumption Rate", "", "", -10000, 10000));
            m_thDataTypes.DataTypes.Add(new AnimatTools.DataObjects.DataType("ConsumptionForStep", "Consumption For Step", "", "", -10000, 10000));
            m_thDataTypes.DataTypes.Add(new AnimatTools.DataObjects.DataType("AdapterConsumptionRate", "Adapter Consumption Rate", "", "", -10000, 10000));
            m_thDataTypes.ID = "EnergyLevel";

            this.ID = "STOMACH";
        }