Unravel Engine C++ Reference
Loading...
Searching...
No Matches
transform_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{
10{
11public:
12 auto init(rtti::context& ctx) -> bool;
13 auto deinit(rtti::context& ctx) -> bool;
14 void on_frame_update(scene& scn, delta_t dt);
15 void on_play_begin(hpp::span<const entt::handle> entities, delta_t dt);
16
17private:
18 std::shared_ptr<int> sentinel_ = std::make_shared<int>(0);
19};
20} // namespace unravel
void on_play_begin(hpp::span< const entt::handle > entities, delta_t dt)
auto init(rtti::context &ctx) -> bool
auto deinit(rtti::context &ctx) -> bool
void on_frame_update(scene &scn, delta_t dt)
std::chrono::duration< float > delta_t
Represents a scene in the ACE framework, managing entities and their relationships.
Definition scene.h:21