fliXNA_xbox.FlxSound.proximity C# (CSharp) Метод

proximity() публичный Метод

public proximity ( FlxObject Source, FlxObject Target, float Radius ) : FlxSound
Source FlxObject
Target FlxObject
Radius float
Результат FlxSound
        public FlxSound proximity(FlxObject Source, FlxObject Target, float Radius)
        {
            x = Source.x;
            y = Source.y;
            _target = Target;
            _source = Source;
            _radius = Radius;
            _followTarget = true;
            proximitized = true;
            return this;
        }