add EditorType enum

This commit is contained in:
scawful
2024-07-13 17:17:56 -04:00
parent 69187a03f4
commit 9dd770c0f5

View File

@@ -12,6 +12,17 @@ namespace app {
*/
namespace editor {
enum class EditorType {
kAssembly,
kDungeon,
kGraphics,
kMusic,
kOverworld,
kPalette,
kScreen,
kSprite,
};
/**
* @class Editor
* @brief Interface for editor classes.
@@ -31,6 +42,11 @@ class Editor {
virtual absl::Status Redo() = 0;
virtual absl::Status Update() = 0;
EditorType type() const { return type_; }
protected:
EditorType type_;
};
} // namespace editor