Make child entites work. z-sort entity list before rendering. entites have a creation timestamp.
14 lines
259 B
C++
14 lines
259 B
C++
#pragma once
|
|
#include <Engine/Entity/Renderable.h>
|
|
|
|
namespace Engine {
|
|
class Camera;
|
|
}
|
|
|
|
class Engine::Camera : public Renderable {
|
|
public:
|
|
void Render() override {};
|
|
public:
|
|
explicit Camera(const Vector2& position) : Renderable(position, 0) {}
|
|
};
|