2024-12-26 00:29:24 +00:00
|
|
|
// src/Components/GameObject.h
|
2024-12-25 23:58:56 +00:00
|
|
|
#pragma once
|
2024-12-26 00:29:24 +00:00
|
|
|
|
|
|
|
#include <string>
|
2024-12-25 23:58:56 +00:00
|
|
|
#include "Transform.h"
|
|
|
|
#include "Mesh.h"
|
|
|
|
|
2024-12-26 00:29:24 +00:00
|
|
|
|
2024-12-25 23:58:56 +00:00
|
|
|
struct GameObject
|
|
|
|
{
|
2024-12-26 00:29:24 +00:00
|
|
|
std::string name; // Unique name for the GameObject
|
|
|
|
Transform transform; // Position, Rotation, Scale
|
|
|
|
Mesh mesh; // Rendering Mesh
|
|
|
|
// Add other components as needed
|
|
|
|
};
|