Unravel Engine C++ Reference
Loading...
Searching...
No Matches
camera_system.h
Go to the documentation of this file.
1#pragma once
2#include <base/basetypes.hpp>
3#include <context/context.hpp>
4#include <engine/ecs/scene.h>
5#include <hpp/span.hpp>
6
7namespace unravel
8{
9
11{
12
13};
14
16{
17public:
18 auto init(rtti::context& ctx) -> bool;
19 auto deinit(rtti::context& ctx) -> bool;
20 void on_frame_update(scene& scn, delta_t dt);
22
23 void on_play_begin(hpp::span<const entt::handle> entities, delta_t dt);
24
25private:
26 std::shared_ptr<int> sentinel_ = std::make_shared<int>(0);
27};
28} // namespace unravel
auto deinit(rtti::context &ctx) -> bool
void on_frame_before_render(scene &scn, delta_t dt)
void on_play_begin(hpp::span< const entt::handle > entities, delta_t dt)
void on_frame_update(scene &scn, delta_t dt)
auto init(rtti::context &ctx) -> bool
std::chrono::duration< float > delta_t
Represents a scene in the ACE framework, managing entities and their relationships.
Definition scene.h:21