28 lines
386 B
C++
28 lines
386 B
C++
#ifndef FAN_SCENE_HPP_
|
|
#define FAN_SCENE_HPP_
|
|
|
|
#include <vector>
|
|
|
|
#include "entity.hpp"
|
|
#include "light.hpp"
|
|
|
|
namespace Fan
|
|
{
|
|
|
|
class Scene
|
|
{
|
|
public:
|
|
LightEnvironment light_environment{};
|
|
|
|
void add_entity(const Entity& entity);
|
|
|
|
const std::vector<Entity>& get_entities() const;
|
|
|
|
private:
|
|
std::vector<Entity> m_entities{};
|
|
};
|
|
|
|
} // namespace Fan
|
|
|
|
#endif // FAN_SCENE_HPP_
|