ferx/engine/scene/Scene.h
2024-11-22 04:37:06 +04:00

18 lines
386 B
C++

#pragma once
#include <memory>
#include <vector>
#include "Cube.h"
class Scene {
public:
Scene()=default;
~Scene();
void AddCube(const std::shared_ptr<Cube>& cube);
std::shared_ptr<Cube> GetCubeByName(const std::string& name);
const std::vector<std::shared_ptr<Cube>>& GetCubes() const;
private:
std::vector<std::shared_ptr<Cube>> cubes; // TODO: Change into entities
};