A few things
Make child entites work. z-sort entity list before rendering. entites have a creation timestamp.
This commit is contained in:
@@ -9,5 +9,5 @@ class Engine::Camera : public Renderable {
|
||||
public:
|
||||
void Render() override {};
|
||||
public:
|
||||
explicit Camera(const Vector2& position) : Renderable(position) {}
|
||||
explicit Camera(const Vector2& position) : Renderable(position, 0) {}
|
||||
};
|
||||
|
Reference in New Issue
Block a user