implementation continues...

This commit is contained in:
Emanuele Trabattoni
2021-05-22 20:41:51 +02:00
parent b8ef6b7231
commit f5ce925153
4 changed files with 184 additions and 72 deletions

View File

@@ -2,12 +2,22 @@
namespace Render {
Drawable::Drawable(const size_t id, const pos_t position, const Drawable* parent) {
Drawable::Drawable(const size_t id, const Drawable* parent, const Mare* engine):
_id(id),
_parent(parent),
_engine(engine)
{
printf("Created Drawable id: %d\n", _id);
}
//--------+--------+--------+--------+--------+--------+--------+--------+--------+--------//
//Point
DrawablePoint::DrawablePoint(const size_t id, const Drawable* parent, const Mare* engine, dim_t size):
Drawable(id, parent,engine),
_size(size)
{
}
//--------+--------+--------+--------+--------+--------+--------+--------+--------+--------//