diff options
author | Matthew Kosarek <matthew@matthewkosarek.xyz> | 2023-09-27 08:03:04 -0400 |
---|---|---|
committer | Matthew Kosarek <matthew@matthewkosarek.xyz> | 2023-09-27 08:03:04 -0400 |
commit | 1da356d8a64c45c99871aca156ee9fdd3e10ec15 (patch) | |
tree | 00438481bc972c9606995af794be09189833510a /themes/src/theme.h | |
parent | ec0b1d450a0f6219b3b0d352cd6625ae05f62618 (diff) |
Simplification of the Theme system with a more OO model
Diffstat (limited to 'themes/src/theme.h')
-rw-r--r-- | themes/src/theme.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/themes/src/theme.h b/themes/src/theme.h new file mode 100644 index 0000000..0872543 --- /dev/null +++ b/themes/src/theme.h @@ -0,0 +1,22 @@ +#ifndef THEME_H +#define THEME_H + +#include "types.h" + +enum class ThemeType { + Default = 0, + Autumn, + Winter, + Spring, + Summer +}; + +class Theme +{ +public: + virtual ~Theme() = default; + virtual void update(f32 dt) = 0; + virtual void render() = 0; +}; + +#endif |