aboutsummaryrefslogtreecommitdiff
path: root/source/EditorAttachmentImpl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/EditorAttachmentImpl.hpp')
-rw-r--r--source/EditorAttachmentImpl.hpp15
1 files changed, 4 insertions, 11 deletions
diff --git a/source/EditorAttachmentImpl.hpp b/source/EditorAttachmentImpl.hpp
index 258e987..e9dbe6f 100644
--- a/source/EditorAttachmentImpl.hpp
+++ b/source/EditorAttachmentImpl.hpp
@@ -2,7 +2,9 @@
#include "EditorAttachment.hpp"
#include "GameObject.hpp"
+#include "Material.hpp"
#include "Player.hpp"
+#include "Sprite.hpp"
#include <memory>
@@ -13,6 +15,8 @@ public:
class EaPlayer : public EditorAttachment {
public:
+ RcPtr<IresSpritesheet> confSprite;
+ RcPtr<IresMaterial> confMaterial;
};
class EaLevelWrapper : public EditorAttachment {
@@ -24,14 +28,3 @@ public:
std::string nameEditingScratch;
bool isEditingName = false;
};
-
-class EaShader : public EditorAttachment {
-public:
- Shader* shader;
-};
-
-class EaMaterial : public EditorAttachment {
-public:
- std::string editingScratch;
- bool isEditingName = false;
-};