HandleRemovedFromContainer() public method

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

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

        _childNodes.Remove(node);
    }
Esempio n. 2
0
    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);
    }
Esempio n. 3
0
    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();
    }
    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);
    }
Esempio n. 5
0
    public void RemoveChild(FNode node)
    {
        node.HandleRemovedFromContainer();

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

        _childNodes.Remove(node);
    }