implementation continues...
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
//--------+--------+--------+--------+--------+--------+--------+--------+--------+--------//
|
||||
|
||||
Reference in New Issue
Block a user