Implemented entity cloning
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
struct Component
|
||||
{
|
||||
EntityID Entity;
|
||||
|
||||
virtual Component* Clone() const = 0;
|
||||
};
|
||||
|
||||
class ComponentFactory : public Factory<Component*> { };
|
||||
|
||||
Reference in New Issue
Block a user