shooter/engine/CameraController.h

27 lines
567 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
#include "Camera.h"
#include "Keyboard.h"
#include "Mouse.h"
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