FairyGUI.DisplayObject.DisplayObject C# (CSharp) Method

DisplayObject() public method

public DisplayObject ( ) : FairyGUI.Utils
return FairyGUI.Utils
        public DisplayObject()
        {
            _alpha = 1;
            _visible = true;
            _touchable = true;
            id = _gInstanceCounter++;
            _blendMode = BlendMode.Normal;
            _focalLength = 2000;
            _captureDelegate = Capture;

            onClick = new EventListener(this, "onClick");
            onRightClick = new EventListener(this, "onRightClick");
            onTouchBegin = new EventListener(this, "onTouchBegin");
            onTouchEnd = new EventListener(this, "onTouchEnd");
            onRollOver = new EventListener(this, "onRollOver");
            onRollOut = new EventListener(this, "onRollOut");
            onMouseWheel = new EventListener(this, "onMouseWheel");
            onAddedToStage = new EventListener(this, "onAddedToStage");
            onRemovedFromStage = new EventListener(this, "onRemovedFromStage");
            onKeyDown = new EventListener(this, "onKeyDown");
            onClickLink = new EventListener(this, "onClickLink");
        }