(Component) Added clone virtual method

Replaced Component<C>::GetId by GetComponentId<C>()


Former-commit-id: 4fae3f73c7fad0a5c36dae16e49b6f12c8bf6ae2
This commit is contained in:
Lynix
2015-03-01 11:21:58 +01:00
parent 8b77825fb8
commit 9c0c991fe0
3 changed files with 18 additions and 3 deletions

View File

@@ -17,6 +17,8 @@ namespace Ndk
BaseComponent(nzUInt32 componentId);
virtual ~BaseComponent();
virtual BaseComponent* Clone() const = 0;
nzUInt32 GetComponentId() const;
static nzUInt32 GetNextId();