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

21 lines
294 B
C++

#include "Camera.hpp"
#include "Things.hpp"
void Camera::Update(float fTime)
{
if (_Track == nullptr) return;
Coords.x = _Track->Coords.x;
Coords.y = _Track->Coords.y;
}
void Camera::Input(olc::PixelGameEngine* engine)
{
}
void Camera::TrackEntity(Entity* entity)
{
_Track = entity;
}