Camera class final
#include <Camera.hpp>

Public static functions

static auto Instance() -> Camera&

Constructors, destructors, conversion operators

Camera(Camera const&) deleted

Public functions

auto operator=(Camera const&) -> Camera& deleted
void update()
auto getPosition() const -> b2Vec2
auto getX() const -> float
auto getY() const -> float
auto getZoom() const -> float
void setTarget(GameObject*const target)
void setPosition(const b2Vec2& position)
void setZoom(const float zoom)