Skip to content

Instantly share code, notes, and snippets.

@markusbkk
Last active August 11, 2024 12:19
Show Gist options
  • Select an option

  • Save markusbkk/2b72f616f6e0f6b77af818d2d82e2954 to your computer and use it in GitHub Desktop.

Select an option

Save markusbkk/2b72f616f6e0f6b77af818d2d82e2954 to your computer and use it in GitHub Desktop.
NSCUMM View Model Binding Problem
namespace NScumm.MonoGame.ViewModels
{
public interface IMenuViewModel
{
void UpdateShowFPS();
}
public class MenuViewModel : ViewModel, IMenuViewModel
{
private bool _showFPS;
public bool ShowFPS
{
get { return _showFPS; }
set
{
RaiseAndSetIfChanged(ref _showFPS, value);
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment