2022-05-28 19:19:16 +00:00
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
|
2022-07-08 19:35:14 +00:00
|
|
|
#include "Graphics/Transform.h"
|
|
|
|
#include "Scene/Node.h"
|
2022-05-28 19:19:16 +00:00
|
|
|
/*
|
|
|
|
* Scene should be a description of a game world
|
|
|
|
*/
|
|
|
|
class Scene {
|
|
|
|
|
|
|
|
public:
|
2022-07-08 19:35:14 +00:00
|
|
|
Node& GetSceneNode(std::string);
|
|
|
|
Node& GetRoot();
|
2022-05-28 19:19:16 +00:00
|
|
|
|
2022-07-09 20:21:56 +00:00
|
|
|
Scene(const std::string& sceneName = "Default Scene");
|
2022-05-28 19:19:16 +00:00
|
|
|
~Scene();
|
|
|
|
|
|
|
|
private:
|
2022-07-08 19:35:14 +00:00
|
|
|
Node* root;
|
2022-05-28 19:19:16 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
|