Attempted to make duplicate

This commit is contained in:
andreja6
2018-10-21 15:36:17 -07:00
parent 2725f6da58
commit e0ba49a03c
7 changed files with 58 additions and 41 deletions

View File

@@ -14,6 +14,13 @@ Instance::Instance(void)
className = "BaseInstance";
}
Instance::Instance(const Instance &oinst)
{
parent = oinst.parent;
name = oinst.name;
className = "BaseInstance";
}
void Instance::render(RenderDevice* rd)
{
for(size_t i = 0; i < children.size(); i++)