Esempio n. 1
0
        public void Copy(SensoriaObject _object)
        {
            base.Copy(_object);

            FieldOfView        = _object.FieldOfView;
            VisualRange        = _object.VisualRange;
            VisualRangeMaximum = _object.VisualRangeMaximum;

            UseDynamicVisualSensorPosition = _object.UseDynamicVisualSensorPosition;
            VisualSensorName             = _object.VisualSensorName;
            VisualSensorOffset           = _object.VisualSensorOffset;
            VisualSensorHorizontalOffset = _object.VisualSensorHorizontalOffset;

            UseSphereCast    = _object.UseSphereCast;
            SphereCastRadius = _object.SphereCastRadius;

            DefaultSenseVisual           = _object.DefaultSenseVisual;
            SenseVisualAgeMultiplier     = _object.SenseVisualAgeMultiplier;
            SenseVisualFitnessMultiplier = _object.SenseVisualFitnessMultiplier;

            DefaultSenseAuditory           = _object.DefaultSenseAuditory;
            SenseAuditoryAgeMultiplier     = _object.SenseAuditoryAgeMultiplier;
            SenseAuditoryFitnessMultiplier = _object.SenseAuditoryFitnessMultiplier;

            DefaultSenseOlfactory           = _object.DefaultSenseOlfactory;
            SenseOlfactoryAgeMultiplier     = _object.SenseOlfactoryAgeMultiplier;
            SenseOlfactoryFitnessMultiplier = _object.SenseOlfactoryFitnessMultiplier;

            DefaultSenseGustatory           = _object.DefaultSenseGustatory;
            SenseGustatoryAgeMultiplier     = _object.SenseGustatoryAgeMultiplier;
            SenseGustatoryFitnessMultiplier = _object.SenseGustatoryFitnessMultiplier;

            DefaultSenseTactile         = _object.DefaultSenseTactile;
            SenseTouchAgeMultiplier     = _object.SenseTouchAgeMultiplier;
            SenseTouchFitnessMultiplier = _object.SenseTouchFitnessMultiplier;
        }
Esempio n. 2
0
 public SensoriaObject(SensoriaObject _object)
 {
     Copy(_object);
 }