Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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