public override void Dispose() { if (descWidget != null) { descWidget.Dispose(); } if (inputWidget != null) { inputWidget.Dispose(); } game.Keyboard.KeyRepeat = false; base.Dispose(); }
public override void Dispose() { if (descWidget != null) { descWidget.Dispose(); } if (inputWidget != null) { inputWidget.Dispose(); } game.Keyboard.KeyRepeat = false; extendedHelpFont.Dispose(); DisposeExtendedHelp(); base.Dispose(); }
public override void Dispose() { game.Keyboard.KeyRepeat = false; inputWidget.Dispose(); DisposeDescWidget(); base.Dispose(); }
void DisposeEditingWidgets() { if (currentAction != null) { currentAction.Dispose(); currentAction = null; } for (int i = 8; i < widgets.Length - 1; i++) { if (widgets[i] != null) { widgets[i].Dispose(); widgets[i] = null; } } focusWidget = null; }