HandleRemovedFromStage() public method

public HandleRemovedFromStage ( ) : void
return void
    public void RemoveChild(FNode node)
    {
        node.HandleRemovedFromContainer();

        if (_isOnStage)
        {
            node.HandleRemovedFromStage();
        }

        _childNodes.Remove(node);
    }
    public void RemoveChild(FNode node)
    {
        if (node.container != this)
        {
            return;                                //I ain't your daddy
        }
        node.HandleRemovedFromContainer();

        if (_isOnStage)
        {
            node.HandleRemovedFromStage();
            node.stage = null;
        }

        _childNodes.Remove(node);
    }
Beispiel #3
0
    override public void HandleRemovedFromStage()
    {
        if (_isOnStage)
        {
            _isOnStage = false;

            int childCount = _childNodes.Count;
            for (int c = 0; c < childCount; c++)
            {
                FNode childNode = _childNodes[c];
                childNode.HandleRemovedFromStage();
                childNode.stage = null;
            }
        }

        Futile.instance.SignalUpdate -= HandleUpdate;
    }
    public void RemoveAllChildren()
    {
        int childCount = _childNodes.Count;

        for (int c = 0; c < childCount; c++)
        {
            FNode node = _childNodes[c];

            node.HandleRemovedFromContainer();

            if (_isOnStage)
            {
                node.HandleRemovedFromStage();
                node.stage = null;
            }
        }

        _childNodes.Clear();
    }
    override public void HandleRemovedFromStage()
    {
        if (_isOnStage)
        {
            base.HandleRemovedFromStage();

            int childCount = _childNodes.Count;
            for (int c = 0; c < childCount; c++)
            {
                FNode childNode = _childNodes[c];
                childNode.HandleRemovedFromStage();
                childNode.stage = null;
            }

            if (_shouldSortByZ)
            {
                Futile.instance.SignalAfterUpdate -= HandleUpdateAndSort;
            }
        }
    }
    public void RemoveChild(FNode node)
    {
        if(node.container != this) return; //I ain't your daddy

        node.HandleRemovedFromContainer();

        if(_isOnStage)
        {
            node.HandleRemovedFromStage();
            node.stage = null;
        }

        _childNodes.Remove(node);
    }
Beispiel #7
0
    public void RemoveChild(FNode node)
    {
        node.HandleRemovedFromContainer();

        if(_isOnStage)
        {
            node.HandleRemovedFromStage();
        }

        _childNodes.Remove(node);
    }