3#include "common/types/Types.h"
4#include "editor/camera/Camera.h"
5#include "core/ecs/ComponentType.h"
23 Vector<int> m_Components;
27 Entity(
int id, String name);
32 void DrawGizmo(
Camera* camera);
35 int GetEntityID()
const {
return m_ID; }
37 String GetName()
const {
return m_Name; }
38 void SetName(String& name) { m_Name = std::move(name); }
39 void SetName(String&& name) { m_Name = name; }
49 void RemoveComponent(
const int& componentID);
50 void AddComponent(
const int& componentID);
A class that represents the camera.
int HasComponent(ComponentType ct)
Checks if the Entity has a component.