private void OnUnloaded(object sender, RoutedEventArgs e) { game.Dispose(); }
public void Dispose() { _engine.Dispose(); }