Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
CameraBehavior.hpp
Go to the documentation of this file.
1#pragma once
2
5#include "core/Core.hpp"
6
8class CameraManager;
9}
10
11namespace CameraMovement::Utils {
12
19 public:
20 ICameraBehavior() = default;
27 explicit ICameraBehavior(Engine::Core & /*core*/) {}
28
29 virtual ~ICameraBehavior() = default;
30
41 Object::Component::Camera &camera, float deltaTime) = 0;
42};
43
44} // namespace CameraMovement::Utils
CameraManager is a resource that manages the active camera entity.
Definition CameraManager.hpp:24
virtual void Update(Engine::Core &core, Resource::CameraManager &manager, Object::Component::Transform &transform, Object::Component::Camera &camera, float deltaTime)=0
Update the camera behavior.
ICameraBehavior(Engine::Core &)
Optional constructor that receives the engine core.
Definition CameraBehavior.hpp:27
The core is the place where all the data of the engine is stored. It contains the registry (entities)...
Definition Core.hpp:33
Definition CameraControlSystemManager.hpp:9
Definition CameraManager.hpp:12
Definition Camera.hpp:10
Definition Transform.hpp:18