mirror of
https://github.com/bailwillharr/engine.git
synced 2024-09-21 04:51:18 +00:00
28 lines
531 B
C++
28 lines
531 B
C++
#pragma once
|
|
|
|
#include "object.hpp"
|
|
|
|
#include <filesystem>
|
|
|
|
// Holds everything you would expect to find in a game scene
|
|
class SceneRoot : public Object {
|
|
|
|
public:
|
|
// create a new empty scene
|
|
SceneRoot(struct GameIO things);
|
|
SceneRoot(const std::filesystem::path& file, struct GameIO things);
|
|
|
|
SceneRoot(const SceneRoot&) = delete;
|
|
SceneRoot& operator=(const SceneRoot&) = delete;
|
|
~SceneRoot();
|
|
|
|
void updateStuff();
|
|
|
|
void activateCam(int id);
|
|
void deactivateCam(int id);
|
|
|
|
private:
|
|
std::vector<int> m_activeCameras{};
|
|
|
|
};
|