예제 #1
0
 protected override void Hide(Boku.Base.GameTimer timer)
 {
     if (this.repeat)
     {
         Activate();
     }
     else
     {
         Deactivate();
     }
 }
예제 #2
0
        protected void ShowHint(Boku.Base.GameTimer timer)
        {
            this.timer.TimerElapsed -= ShowHint;

            TutorialManager.Instance.RenderChildren += Render;
            TutorialManager.Instance.UpdateChildren -= Update;

            // start our show timer if we have one
            if (this.durationSeconds >= 0.0f)
            {
                this.timer.TimerElapsed += Hide;
                this.timer.Reset(this.durationSeconds);
                this.timer.Start();
            }
        }
예제 #3
0
 protected override void Hide(Boku.Base.GameTimer timer)
 {
     Deactivate();
     this.status = Status.ConditionsMet;
     TutorialManager.Instance.ActiveTutorial.Next();
 }
예제 #4
0
 protected abstract void Hide(Boku.Base.GameTimer timer);