Exemplo n.º 1
0
        /// <summary>Raised after the player moves the in-game cursor.</summary>
        /// <param name="e">The event data.</param>
        public void OnCursorMoved(CursorMovedEventArgs e)
        {
            if (_debounceTimer > 0)
            {
                return;
            }

            _okayButton.OnCursorMoved(e);
        }
Exemplo n.º 2
0
        /// <summary>Raised after the player moves the in-game cursor.</summary>
        /// <param name="e">The event data.</param>
        public void OnCursorMoved(CursorMovedEventArgs e)
        {
            if (_debounceTimer > 0)
            {
                return;
            }

            foreach (var button in _professionButtons)
            {
                button.OnCursorMoved(e);
            }
            _prestigeButton.OnCursorMoved(e);
            _settingsButton.OnCursorMoved(e);
        }
Exemplo n.º 3
0
 /// <summary>Raised after the player moves the in-game cursor.</summary>
 /// <param name="e">The event data.</param>
 public void OnCursorMoved(CursorMovedEventArgs e)
 {
     _levelTenToggleButton?.OnCursorMoved(e);
 }