aboutsummaryrefslogtreecommitdiff
path: root/source/Game/EditorAttachmentImpl.hpp
blob: 53bcd375cef83e8c4bce6fc2ba3a67e8241f30ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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;
};