public override void Dispose() { font.Dispose(); table.Dispose(); game.Events.BlockPermissionsChanged -= OnBlockChanged; game.Events.BlockDefinitionChanged -= OnBlockChanged; Keyboard.KeyRepeat = false; game.Graphics.ContextLost -= ContextLost; game.Graphics.ContextRecreated -= ContextRecreated; }