示例#1
0
            private int GetFrames(Agent pAgent)
            {
                Debug.Check(this.GetNode() is DecoratorFrames);
                DecoratorFrames pNode = (DecoratorFrames)(this.GetNode());

                return(pNode != null?pNode.GetFrames(pAgent) : 0);
            }
            private int GetFrames(Agent pAgent)
            {
                DecoratorFrames decoratorFrames = (DecoratorFrames)base.GetNode();

                return((decoratorFrames != null) ? decoratorFrames.GetFrames(pAgent) : 0);
            }
示例#3
0
            private int GetFrames(Agent pAgent)
            {
                DecoratorFrames node = (DecoratorFrames)base.GetNode();

                return((node == null) ? 0 : node.GetFrames(pAgent));
            }