Files
OLCCodeJam2020-The-Great-Ma…/The Great Machine/Camera.hpp
2020-09-02 18:53:56 +01:00

27 lines
330 B
C++

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