Beispiel #1
0
            private int GetFrames(Agent pAgent)
            {
                Debug.Check(this.GetNode() is WaitFrames);
                WaitFrames pWaitNode = (WaitFrames)(this.GetNode());

                return(pWaitNode != null?pWaitNode.GetFrames(pAgent) : 0);
            }
Beispiel #2
0
            private int GetFrames(Agent pAgent)
            {
                WaitFrames node = (WaitFrames)base.GetNode();

                return((node == null) ? 0 : node.GetFrames(pAgent));
            }
Beispiel #3
0
            private int GetFrames(Agent pAgent)
            {
                WaitFrames waitFrames = (WaitFrames)base.GetNode();

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