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; }
override public void Reset() { state = ButtonCommandState.Unknown; timerAutoRepeat.Clear(); }