vectozavr-shooter/engine/utils/CameraController.h

27 lines
582 B
C
Raw Normal View History

2022-02-23 07:51:53 +03:00
//
// Created by Иван Ильин on 22.01.2022.
//
#ifndef SHOOTER_CAMERACONTROLLER_H
#define SHOOTER_CAMERACONTROLLER_H
2022-07-11 16:58:05 +03:00
#include "../Camera.h"
#include "../io/Keyboard.h"
#include "../io/Mouse.h"
2022-02-23 07:51:53 +03:00
class CameraController {
private:
std::shared_ptr<Camera> _camera;
std::shared_ptr<Keyboard> _keyboard;
std::shared_ptr<Mouse> _mouse;
public:
CameraController(std::shared_ptr<Camera> camera,
std::shared_ptr<Keyboard> keyboard,
std::shared_ptr<Mouse> mouse);
void update();
};
#endif //SHOOTER_CAMERACONTROLLER_H