Last active
December 13, 2020 12:00
-
-
Save MartinZikmund/5e815b8cc52043ced5ddefa7d125cf6d 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
private GameTheme _currentTheme = GameTheme.Classic; | |
public GameTheme[] Themes { get; } = new GameTheme[] | |
{ | |
GameTheme.Classic, | |
GameTheme.Bacteria, | |
GameTheme.CatMouse, | |
GameTheme.FireWater | |
}; | |
public GameTheme CurrentTheme | |
{ | |
get => _currentTheme; | |
set | |
{ | |
_currentTheme = value; | |
UpdateBitmaps(); | |
RedrawBoard(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment