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); }
private int GetFrames(Agent pAgent) { DecoratorFrames node = (DecoratorFrames)base.GetNode(); return((node == null) ? 0 : node.GetFrames(pAgent)); }