Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
CameraMovement::Utils::DontMoveBehavior Class Reference

Camera behavior that does not move the camera. More...

#include <DontMoveBehavior.hpp>

Inheritance diagram for CameraMovement::Utils::DontMoveBehavior:
CameraMovement::Utils::ICameraBehavior

Public Member Functions

 DontMoveBehavior ()=default
 ~DontMoveBehavior () override=default
void Update (Engine::Core &core, Resource::CameraManager &manager, Object::Component::Transform &transform, Object::Component::Camera &camera, float deltaTime) override
 Update the camera behavior.
Public Member Functions inherited from CameraMovement::Utils::ICameraBehavior
 ICameraBehavior ()=default
 ICameraBehavior (Engine::Core &)
 Optional constructor that receives the engine core.
virtual ~ICameraBehavior ()=default

Detailed Description

Camera behavior that does not move the camera.

Constructor & Destructor Documentation

◆ DontMoveBehavior()

CameraMovement::Utils::DontMoveBehavior::DontMoveBehavior ( )
default

◆ ~DontMoveBehavior()

CameraMovement::Utils::DontMoveBehavior::~DontMoveBehavior ( )
overridedefault

Member Function Documentation

◆ Update()

void CameraMovement::Utils::DontMoveBehavior::Update ( Engine::Core & core,
Resource::CameraManager & manager,
Object::Component::Transform & transform,
Object::Component::Camera & camera,
float deltaTime )
inlineoverridevirtual

Update the camera behavior.

Parameters
coreThe engine core.
managerThe camera manager.
transformThe transform component of the camera.
cameraThe camera component.
deltaTimeThe time elapsed since the last frame.

Implements CameraMovement::Utils::ICameraBehavior.


The documentation for this class was generated from the following file: