Created
December 13, 2020 13:50
-
-
Save MartinZikmund/afaf7bef1e5e6f9c2acd6ad1a28d0d6a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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