Skip to content

Instantly share code, notes, and snippets.

@MartinZikmund
Created December 13, 2020 13:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MartinZikmund/afaf7bef1e5e6f9c2acd6ad1a28d0d6a to your computer and use it in GitHub Desktop.
Save MartinZikmund/afaf7bef1e5e6f9c2acd6ad1a28d0d6a to your computer and use it in GitHub Desktop.
public MainPage()
{
this.InitializeComponent();
_timer.Tick += OnTimerTick;
}
private void OnTimerTick(object sender, object e)
{
_gameState?.Tick();
RedrawBoard();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment