Files
DemoGame/include/Game/Entity/Box.h
Redacted 25d080ff2c A few things
Make child entites work.

z-sort entity list before rendering.

entites have a creation timestamp.
2025-01-02 21:44:14 -05:00

16 lines
368 B
C++

#pragma once
#include <Engine/Entity/Renderable.h>
#include <Engine/Globals.h>
namespace Game {
class Box;
}
class Game::Box final : public Engine::Renderable {
public:
void Render() final;
void Update() final;
public:
explicit Box(const Vector2& position, unsigned int depth = 0, float rotation = 0.0f) : Renderable(position, depth, rotation) {}
};