/// <summary> /// Initializes a new instance of the <see cref="KeyboardDispatcher"/> class. /// </summary> /// <param name="window"> /// The <see cref="GameWindow"/> needed for visualizing. /// </param> public KeyboardDispatcher(GameWindow window) { EventInput.Initialize(window); EventInput.CharEntered += new CharEnteredHandler(this.EventInput_CharEntered); EventInput.KeyDown += new KeyEventHandler(this.EventInput_KeyDown); }