diff options
author | rtk0c <[email protected]> | 2022-06-03 23:30:01 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2022-06-03 23:30:01 -0700 |
commit | 791b3f354b378769bffe623b05f1305c91b77101 (patch) | |
tree | 5409b311e6232eb4a6d3f8259b780d76b8ee1c59 /ProjectBrussel/Game/EditorAttachmentImpl.hpp | |
parent | 60ccc62f4934e44ad5b905fdbcf458302b8d8a09 (diff) |
Changeset: 64 [WIP] Rename directoriesmaster-switch-to-build2
Diffstat (limited to 'ProjectBrussel/Game/EditorAttachmentImpl.hpp')
-rw-r--r-- | ProjectBrussel/Game/EditorAttachmentImpl.hpp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/ProjectBrussel/Game/EditorAttachmentImpl.hpp b/ProjectBrussel/Game/EditorAttachmentImpl.hpp new file mode 100644 index 0000000..53bcd37 --- /dev/null +++ b/ProjectBrussel/Game/EditorAttachmentImpl.hpp @@ -0,0 +1,34 @@ +#pragma once + +#include "EditorAttachment.hpp" +#include "GameObject.hpp" +#include "Material.hpp" +#include "Player.hpp" +#include "Sprite.hpp" + +#include <memory> + +class EaGameObject : public EditorAttachment { +public: + // NOTE: in degrees + glm::vec3 eulerAnglesRotation; + +public: + static std::unique_ptr<EditorAttachment> Create(GameObject* object); +}; + +class EaPlayer : public EaGameObject { +public: + RcPtr<IresSpritesheet> confSprite; + RcPtr<IresMaterial> confMaterial; +}; + +class EaLevelWrapper : public EaGameObject { +public: +}; + +class EaIresObject : public EditorAttachment { +public: + std::string nameEditingScratch; + bool isEditingName = false; +}; |