Files
OLCCodeJam2020-The-Great-Ma…/The Great Machine/Camera.hpp
2020-08-30 15:54:14 +00:00

27 lines
330 B
C++

#ifndef GREATMACHINE_CAMERA_H_
#define GREATMACHINE_CAMERA_H_
#include "olcPixelGameEngine.hpp"
class Entity;
class Camera
{
public:
olc::vd2d Coords;
olc::vd2d ViewPort;
void Update(float fTime);
void Input(olc::PixelGameEngine* engine);
void TrackEntity(Entity* e);
private:
Entity* _Track = nullptr;
};
#endif