コード例 #1
0
 /// <summary>
 /// Raises event <see cref="SecondDecision"/>.
 /// </summary>
 /// <param name="e">Data specific for this event.</param>
 protected virtual void OnSecondDecision(FrameTimeEventArgs e)
 {
     if (this.SecondDecision != null)
     {
         this.SecondDecision(this, e);
     }
 }
コード例 #2
0
 /// <summary>
 /// Raises event <see cref="SecondThought"/>.
 /// </summary>
 /// <param name="e">Data specific for this event.</param>
 protected virtual void OnSecondThought(FrameTimeEventArgs e)
 {
     if (this.SecondThought != null)
     {
         this.SecondThought(this, e);
     }
 }
コード例 #3
0
        private void PostUpdateInternal(float deltaTime)
        {
            FrameTimeEventArgs args = new FrameTimeEventArgs(deltaTime);

            this.OnSecondThought(args);
            this.AfterThought(deltaTime);
            this.OnSecondDecision(args);
        }
コード例 #4
0
 /// <summary>
 /// Raises event <see cref="SecondThought"/>.
 /// </summary>
 /// <param name="e">Data specific for this event.</param>
 protected virtual void OnSecondThought(FrameTimeEventArgs e)
 {
     if (this.SecondThought != null) this.SecondThought(this, e);
 }
コード例 #5
0
 /// <summary>
 /// Raises event <see cref="SecondDecision"/>.
 /// </summary>
 /// <param name="e">Data specific for this event.</param>
 protected virtual void OnSecondDecision(FrameTimeEventArgs e)
 {
     if (this.SecondDecision != null) this.SecondDecision(this, e);
 }
コード例 #6
0
        private void PostUpdateInternal(float deltaTime)
        {
            FrameTimeEventArgs args = new FrameTimeEventArgs(deltaTime);

            this.OnSecondThought(args);
            this.AfterThought(deltaTime);
            this.OnSecondDecision(args);
        }