/// <summary> /// Handle any input that needs to be checked on a State-level scope. /// </summary> protected virtual void HandleInput() { if (!scheme.IsEmpty()) { if (scheme.IsFired(Commands.Debug)) { this._debug = !_debug; } } }
/// <summary> /// Handles any global inputs that you'd like to track, given the commands were added to the Global inputs key already. /// </summary> private static void HandleGlobalInput() { Debug = keyListener.IsFired(Commands.Debug); }