fliXNA_xbox.FlxCamera.FlxCamera C# (CSharp) Method

FlxCamera() public method

public FlxCamera ( float X, float Y, float Width, float Height, float Zoom = 1.0f ) : System
X float
Y float
Width float
Height float
Zoom float
return System
        public FlxCamera(float X, float Y, float Width, float Height, float Zoom = 1.0f)
            : base()
        {
            x = X;
            y = Y;
            width = Width;
            height = Height;
            defaultZoom = 1.0f;
            rotating = 0.0f;
            scroll = new FlxPoint();
            _point = new FlxPoint();
            target = null;
            deadzone = null;
            bounds = null;
            zooming = Zoom;

            _fxShakeIntensity = 0;
            _fxShakeDuration = 0;
            _fxShakeComplete = null;
            _fxShakeOffset = new FlxPoint();
            _fxShakeDirection = 0;
        }