Example #1
0
 protected void OnRepeatPress(Boku.Base.GameTimer timer)
 {
     // NOTE: do not call Start on this timer, it is being used in a caller update model
     timerAutoRepeat.Reset(timeAutoRepeat);
     if (RepeatPress != null)
     {
         RepeatPress(this, new System.EventArgs());
     }
     this.state = ButtonCommandState.Repeat;
 }
Example #2
0
 override public void Reset()
 {
     state = ButtonCommandState.Unknown;
     timerAutoRepeat.Clear();
 }