private int GetFrames(Agent pAgent) { Debug.Check(this.GetNode() is WaitFrames); WaitFrames pWaitNode = (WaitFrames)(this.GetNode()); return(pWaitNode != null?pWaitNode.GetFrames(pAgent) : 0); }
private int GetFrames(Agent pAgent) { WaitFrames node = (WaitFrames)base.GetNode(); return((node == null) ? 0 : node.GetFrames(pAgent)); }
private int GetFrames(Agent pAgent) { WaitFrames waitFrames = (WaitFrames)base.GetNode(); return((waitFrames == null) ? 0 : waitFrames.GetFrames(pAgent)); }